Skip to content

Commit

Permalink
refactor(test): delete duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
strager committed Oct 19, 2023
1 parent 2431ea4 commit 8e05726
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/test-options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ TEST(Test_Options, lsp_server) {
}
}

TEST(Test_Options, dash_dash_stdin) {
TEST(Test_Options, stdin) {
{
Options o = parse_options_no_errors({"--stdin", "one.js"});
ASSERT_EQ(o.files_to_lint.size(), 2);
Expand Down Expand Up @@ -587,13 +587,6 @@ TEST(Test_Options, is_stdin_emplaced_only_once) {
}
}

TEST(Test_Options, single_hyphen_is_argument) {
{
Options o = parse_options_no_errors({"one.js", "-", "two.js"});
ASSERT_EQ(o.files_to_lint.size(), 3);
}
}

TEST(Test_Options, print_help) {
{
Options o = parse_options_no_errors({"--help"});
Expand Down

0 comments on commit 8e05726

Please sign in to comment.