1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 14:28:08 +03:00
juvix/tests/smoke/Commands/dev/highlight.smoke.yaml
janmasrovira 33a0675c99
Respect the juvix dev highlight --format flag when outputting errors (#1820)
Currently errors were always being highlighted using the emacs backend.
Now they properly depend on the `--format` flag.
2023-02-10 13:43:13 +01:00

31 lines
506 B
YAML

working-directory: ./../../../../tests
tests:
- name: highlight-emacs
command:
- juvix
- dev
- highlight
args:
- positive/Internal/LiteralInt.juvix
stdout:
contains: |
add-text-properties
exit-status: 0
- name: highlight-vscode
command:
- juvix
- dev
- highlight
- --format
- json
args:
- positive/Internal/LiteralInt.juvix
stdout:
matches: |-
^\{\"face\".*$
exit-status: 0