the base
This commit is contained in:
15
lib/core/texttools/indent_test.v
Normal file
15
lib/core/texttools/indent_test.v
Normal file
@@ -0,0 +1,15 @@
|
||||
module texttools
|
||||
|
||||
fn test_dedent() {
|
||||
mut text := '
|
||||
a
|
||||
b
|
||||
|
||||
c
|
||||
d
|
||||
|
||||
|
||||
'
|
||||
text = dedent(text)
|
||||
assert text.len == 20
|
||||
}
|
||||
Reference in New Issue
Block a user