indentation test for a nested interface block
This commit is contained in:
parent
1e761fbd04
commit
2af81e75e9
|
@ -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 ()
|
(ert-deftest plantuml-test-block-indentation/alt-end ()
|
||||||
"Test correct indentation of an alt-end block.
|
"Test correct indentation of an alt-end block.
|
||||||
The alt-keyword is NOT followed by some text."
|
The alt-keyword is NOT followed by some text."
|
||||||
|
|
Loading…
Reference in New Issue