/
glscene
/
pasdoc
Обзор
Документация
Войти
/
glscene
/
pasdoc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/testcases/ok_longcode_indentation.pas
70 строк
891 B
Fr0sT-Brutal
! fixed two incomplete testcases
18 сен 2019, 18:40
18 сен 2019, 18:40
f4c0c0f
Код
Авторство
О чём код?
unit ok_longcode_indentation; interface { Should cut nothing: @longCode(#one two three #) } procedure Foo1; { Should cut 4 spaces: @longCode(# one two three #) } procedure Foo2; { Should cut 2 spaces: @longCode(# one two three #) } procedure Foo3; { Should cut nothing (there's a tab here): @longCode(# one two three #) } procedure Foo4; { Should cut tab + 2 spaces: @longCode(# one two three #) } procedure Foo5; { Should cut 4 spaces (there's trailing whitespace in 1st lines here, that should be ignored): @longCode(# one #) } procedure Foo6; { Should cut 4 spaces (empty line doesn't shorten IndentationPrefix): @longCode(# if something then begin // empty line below end; #) } procedure Foo7; implementation end.