Skip to content

Commit 214ef76

Browse files
committed
Update tests for Docker and YAML
1 parent 3bf1509 commit 214ef76

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

atest/01_Editor.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CSS
1414

1515
Docker
1616
${def} = Set Variable xpath://span[contains(@class, 'cm-string')][contains(text(), 'PLANET')]
17-
Wait Until Keyword Succeeds 3x 100ms Editor Shows Features for Language Docker Dockerfile Diagnostics=Instruction has no arguments
17+
Wait Until Keyword Succeeds 3x 100ms Editor Shows Features for Language Docker Dockerfile Diagnostics=Instructions should be written in uppercase letters
1818
... Jump to Definition=${def} Rename=${def}
1919

2020
JS
@@ -71,7 +71,7 @@ SQL
7171
Editor Shows Features for Language SQL example.sql Diagnostics=Expected
7272

7373
YAML
74-
Editor Shows Features for Language YAML example.yaml Diagnostics=duplicate key
74+
Editor Shows Features for Language YAML example.yaml Diagnostics=Map keys must be unique
7575

7676
*** Keywords ***
7777
Editor Shows Features for Server

atest/07_Configuration.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ YAML
1616
[Documentation] Composer YAML files don't allow a "greetings" key
1717
Settings Should Change Editor Diagnostics YAML example.yaml yaml-language-server
1818
... {"yaml.schemas": {"http://json.schemastore.org/composer": "*"}}
19-
... duplicate key
19+
... Map keys must be unique
2020
... Property greetings is not allowed.
2121

2222
Markdown

atest/examples/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM empty
2-
RUN
2+
run
33
ARG PLANET="earth"
44
ENV MY_PLANET="$PLANET"
55
RUN echo Hello $MY_PLANET

atest/examples/composer-schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: 0
22
foo:
3-
bar:
4-
bar:
3+
bar: 0
4+
bar: 0

atest/examples/example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
greetings:
2-
hello:
3-
hello:
2+
hello: 0
3+
hello: 0
44
well:

0 commit comments

Comments
 (0)