Skip to content

Commit c7ca21c

Browse files
committed
chore: uniq args
1 parent e1d3b3c commit c7ca21c

File tree

1 file changed

+2
-1
lines changed
  • rust/cubestore/cubestore-sql-tests/src

1 file changed

+2
-1
lines changed

rust/cubestore/cubestore-sql-tests/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use std::panic::RefUnwindSafe;
1212
use std::sync::Arc;
1313
use test::TestFn::DynTestFn;
1414
use test::{ShouldPanic, TestDesc, TestDescAndFn, TestName, TestType};
15+
use itertools::Itertools;
1516
use tests::sql_tests;
1617

1718
mod benches;
@@ -66,7 +67,7 @@ pub fn run_sql_tests(
6667
.collect();
6768

6869
test::test_main(
69-
&env::args().chain(extra_args).collect::<Vec<String>>(),
70+
&env::args().chain(extra_args).unique().collect::<Vec<String>>(),
7071
tests,
7172
None,
7273
);

0 commit comments

Comments
 (0)