Skip to content

Commit

Permalink
use --quiet on the tests to test the old behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Jul 30, 2024
1 parent 929017c commit 8a48c0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/tests/integration/TestDev.hx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class TestDev extends IntegrationTests {
final r = haxelib(["dev", "bar", Path.join([IntegrationTests.projectRoot, "test/libraries/libBar"])]).result();
assertSuccess(r);

final r = haxelib(["list", "Bar"]).result();
final r = haxelib(["list", "Bar", "--quiet"]).result();
assertTrue(r.out.startsWith("Bar"));
assertSuccess(r);
// even though the user used "bar", we show "Bar" as that is what is found in haxelib.json
Expand Down
2 changes: 1 addition & 1 deletion test/tests/integration/TestList.hx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class TestList extends IntegrationTests {
function testInvalidDirectories():Void {
FileSystem.createDirectory('${projectRoot}$repo/LIBRARY');

final r = haxelib(["list"]).result();
final r = haxelib(["list", "--quiet"]).result();
assertSuccess(r);
// the command should not crash
assertEquals("", r.out);
Expand Down

0 comments on commit 8a48c0b

Please sign in to comment.