miette/tests
Paul Colomiets f158f4e370
fix(handlers): Fix label position (#107)
Fixes #106

While fixing the bug I've also extended the handler to print not just
where label starts but also where label ends.

Also implements #97, but for narratabble handler only.

This adds dependency on `unicode-width`, but it was already in the
dependency chain (`textwidth` depends on it). Although, previously it
was only for `"fancy"` feature, now it always required since narratable
handler is supported without `"fancy"`.
2022-01-17 11:07:29 -08:00
..
common feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
drop feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
compiletest.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
derive.rs feat(related): Add related diagnostics (#68) 2021-09-22 16:34:21 -07:00
graphical.rs feat(tabs): Add replace tabs with spaces option (#82) 2021-10-05 21:05:57 -07:00
narrated.rs fix(handlers): Fix label position (#107) 2022-01-17 11:07:29 -08:00
test_autotrait.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_boxed.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_chain.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_context.rs fix(chain): correct `Chain` structure exported (#102) 2022-01-07 17:34:39 -08:00
test_context_access.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_convert.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_downcast.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_fmt.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_json.rs fix(json): proper escapes for JSON strings (#101) 2022-01-07 17:35:24 -08:00
test_location.rs feat(tabs): Add replace tabs with spaces option (#82) 2021-10-05 21:05:57 -07:00
test_macros.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_repr.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_source.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00