mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
33a0675c99
Currently errors were always being highlighted using the emacs backend. Now they properly depend on the `--format` flag.
31 lines
506 B
YAML
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
|