dart-sass/test/cli/shared
Natalie Weizenbaum e8ac314f56
Support dart-lang/source_span#25 (#566)
This adds a --no-unicode option to disable Unicode span rendering,
decouples repl highlighting from SourceSpan.highlight, and updates
tests to work with the new error highlighting.

It also tightly scopes source spans for statements with children.
Previously, source spans for these nodes extended all the way through
any whitespace that followed the node. This led to messy-looking
multiline span highlights with dart-lang/source_span#25.

Now, StylesheetParser.children doesn't consume trailing whitespace.
Instead, we add a helper method StylesheetParser._withChildren that
parses children, creates the appropriate span, and then consumes the
trailing whitespace.
2019-01-28 20:42:32 -05:00
..
colon_args.dart Support dart-lang/source_span#25 (#566) 2019-01-28 20:42:32 -05:00
errors.dart Support dart-lang/source_span#25 (#566) 2019-01-28 20:42:32 -05:00
repl.dart Support dart-lang/source_span#25 (#566) 2019-01-28 20:42:32 -05:00
source_maps.dart Don't canonicalize file case in source maps (#541) 2019-01-04 14:17:18 -05:00
update.dart Use the latest test_descriptor features to clean up tests (#366) 2018-06-19 17:50:49 -07:00
watch.dart Reformat with Dart-2-only features 2018-11-15 15:16:24 -08:00