Skip to content

Commit f31042f

Browse files
committed
2020.3 support: fix yaml indents
1 parent 7078b7c commit f31042f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/test/java/fr/adrienbrault/idea/symfony2plugin/tests/intentions/yaml/dic/YamlCreateServiceArgumentsCallbackTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public void run() {
4949
assertEquals("" +
5050
"services:\n" +
5151
" foo:\n" +
52-
" class: Foo\\Foo\n" +
53-
" arguments:\n" +
54-
" ['@foo', '@?', '@?']\n",
52+
" class: Foo\\Foo\n" +
53+
" arguments:\n" +
54+
" [ '@foo', '@?', '@?' ]\n",
5555
yamlFile.getText()
5656
);
5757
}

src/test/java/fr/adrienbrault/idea/symfony2plugin/tests/util/yaml/YamlHelperLightTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ public void testInsertKeyIntoFile() {
268268
assertEquals("" +
269269
"foo:\n" +
270270
" bar:\n" +
271-
" car: test\n" +
272-
" apple: value",
271+
" car: test\n" +
272+
" apple: value",
273273
yamlFile.getText()
274274
);
275275
}
@@ -340,12 +340,12 @@ public void testInsertKeyWithArrayValue() {
340340

341341
String text = yamlFile.getText();
342342
assertEquals("services:\n" +
343-
" foo:\n" +
343+
" foo:\n" +
344344
" car: test\n" +
345-
" my_service:\n" +
346-
" class: foo\n" +
347-
" tag:\n" +
348-
" - foo",
345+
" my_service:\n" +
346+
" class: foo\n" +
347+
" tag:\n" +
348+
" - foo",
349349
text
350350
);
351351
}

0 commit comments

Comments
 (0)