aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-31 10:01:39 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-31 10:01:39 -0700
commit0d3169ef70032559e201a500aff2197a2854aa72 (patch)
tree89971815f95f8826ad1eee19985147d0635ca2ea /fish_tests.cpp
parentfe3b439e31ce893d9345112e95a031aa5ec11183 (diff)
Run restyle.sh to enforce style rules.
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 92bd0f71..dcc6814e 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -628,33 +628,33 @@ static void test_parser()
}
- if (! (detect_argument_errors(L"foo$$") & PARSER_TEST_ERROR))
+ if (!(detect_argument_errors(L"foo$$") & PARSER_TEST_ERROR))
{
err(L"Bad variable expansion not reported as error");
}
- if (! (detect_argument_errors(L"foo$@") & PARSER_TEST_ERROR))
+ if (!(detect_argument_errors(L"foo$@") & PARSER_TEST_ERROR))
{
err(L"Bad variable expansion not reported as error");
}
/* Within command substitutions, we should be able to detect everything that parse_util_detect_errors can detect */
- if (! (detect_argument_errors(L"foo(cat | or cat)") & PARSER_TEST_ERROR))
+ if (!(detect_argument_errors(L"foo(cat | or cat)") & PARSER_TEST_ERROR))
{
err(L"Bad command substitution not reported as error");
}
- if (! (detect_argument_errors(L"foo\\xFF9") & PARSER_TEST_ERROR))
+ if (!(detect_argument_errors(L"foo\\xFF9") & PARSER_TEST_ERROR))
{
err(L"Bad escape not reported as error");
}
- if (! (detect_argument_errors(L"foo(echo \\xFF9)") & PARSER_TEST_ERROR))
+ if (!(detect_argument_errors(L"foo(echo \\xFF9)") & PARSER_TEST_ERROR))
{
err(L"Bad escape in command substitution not reported as error");
}
- if (! (detect_argument_errors(L"foo(echo (echo (echo \\xFF9)))") & PARSER_TEST_ERROR))
+ if (!(detect_argument_errors(L"foo(echo (echo (echo \\xFF9)))") & PARSER_TEST_ERROR))
{
err(L"Bad escape in nested command substitution not reported as error");
}