add spec for unknown CLI operation
This commit is contained in:
parent
28e3781331
commit
2d44a88fb6
@ -1524,6 +1524,13 @@ EOF
|
|||||||
expect(result.stderr).to match /Cannot read nonexistent/
|
expect(result.stderr).to match /Cannot read nonexistent/
|
||||||
expect(result.status).to_not eq 0
|
expect(result.status).to_not eq 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it "outputs an error for an unknown operation" do
|
||||||
|
test_dir "simple"
|
||||||
|
result = run_rscons(op: "unknownop")
|
||||||
|
expect(result.stderr).to match /Unknown operation: unknownop/
|
||||||
|
expect(result.status).to_not eq 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context "configure" do
|
context "configure" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user