You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These tests could go in a file like tests/config-options-are-respected.vader. Here is a start at writing it:
Execute (resetindentoptionsto initial values):
" so it is clear what values later tests are working withsetglobalnoexpandtabtabstop=8softtabstop=0shiftwidth=8
Execute (TODOg:detectindent_preferred_indentis respected):
letg:detectindent_preferred_indent=4" TODO open a file, DetectIndent, and check that the settings are different" from what they would be if that option wasn’t setunletg:detectindent_preferred_indent
# TODO test the other options too
Unit tests for options would confirm that options currently behave desirably in all situations, and ensure that they keep functioning properly when the code is changed.
The text was updated successfully, but these errors were encountered:
These tests could go in a file like
tests/config-options-are-respected.vader
. Here is a start at writing it:Unit tests for options would confirm that options currently behave desirably in all situations, and ensure that they keep functioning properly when the code is changed.
The text was updated successfully, but these errors were encountered: