indentation test for a nested interface block

This commit is contained in:
René Schmelzer 2019-03-06 19:20:49 +01:00
parent 1e761fbd04
commit 2af81e75e9
1 changed files with 18 additions and 0 deletions

View File

@ -402,6 +402,24 @@ package APackage {
}
"))
(ert-deftest platuml-test-block-indentation/package-interface-nested ()
"Test correct indentation of two nested blocks, a package and an interface"
(plantuml-test-indent-block
"
package foo {
interface Bar {
baz
}
}
"
"
package foo {
interface Bar {
baz
}
}
"))
(ert-deftest plantuml-test-block-indentation/alt-end ()
"Test correct indentation of an alt-end block.
The alt-keyword is NOT followed by some text."