1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

test(expand): Add some tests for expand (#1505)

This commit is contained in:
Sylvestre Ledru 2020-05-15 14:21:23 +02:00 committed by Roy Ivy III
parent 0ca5132a06
commit 601690b079
5 changed files with 68 additions and 0 deletions

6
tests/fixtures/expand/with-spaces.txt vendored Normal file
View file

@ -0,0 +1,6 @@
// !note: file contains significant whitespace
// * indentation uses <SPACE> characters
int foo() {
// with spaces
return 0;
}

6
tests/fixtures/expand/with-tab.txt vendored Normal file
View file

@ -0,0 +1,6 @@
// !note: file contains significant whitespace
// * indentation uses <TAB> characters
int main() {
// with tabs
return 0;
}

View file

@ -0,0 +1,7 @@
// !note: file contains significant whitespace
// * indentation uses <TAB> characters
int main() {
// * next line has both a leading & trailing tab
// with tabs=>
return 0;
}