File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,15 +190,17 @@ def test_test_command(self):
190190
191191 def test_test_flags (self ):
192192 proj = hm .rust .project (path = "." )
193- assert "cargo test --workspace --locked --lib --no-fail-fast" in proj .test (flags = ("--lib" , "--no-fail-fast" )).cmd
193+ step = proj .test (flags = ("--lib" , "--no-fail-fast" ))
194+ assert "cargo test --workspace --locked --lib --no-fail-fast" in step .cmd
194195
195196 def test_clippy_command (self ):
196197 proj = hm .rust .project (path = "cli" )
197198 assert "cargo clippy --workspace --tests --locked -- -D warnings" in proj .clippy ().cmd
198199
199200 def test_clippy_flags (self ):
200201 proj = hm .rust .project (path = "." )
201- assert "cargo clippy --workspace --tests --locked --fix -- -D warnings" in proj .clippy (flags = ("--fix" ,)).cmd
202+ step = proj .clippy (flags = ("--fix" ,))
203+ assert "cargo clippy --workspace --tests --locked --fix -- -D warnings" in step .cmd
202204
203205 def test_fmt_command (self ):
204206 proj = hm .rust .project (path = "cli" )
You can’t perform that action at this time.
0 commit comments