Skip to content

Commit

Permalink
remove opam info msg from output
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Aug 11, 2023
1 parent ffe989e commit a0d8d81
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/dry-run.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
When --dry-run is used, exit code is 0

$ opam switch create . --empty
$ opam switch create . --empty | grep -v "to update the current shell environment"

$ cat > test.opam <<EOF
> opam-version: "2.0"
Expand Down
2 changes: 1 addition & 1 deletion test/error-no-node_module.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Errors when node_module folder is not found

$ opam switch create . --empty
$ opam switch create . --empty | grep -v "to update the current shell environment"

$ cat > test.opam <<EOF
> opam-version: "2.0"
Expand Down
2 changes: 1 addition & 1 deletion test/error-non-eq-filter.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Errors when using npm-version without an equality filter `=`

$ opam switch create . --empty
$ opam switch create . --empty | grep -v "to update the current shell environment"

$ cat > test.opam <<EOF
> opam-version: "2.0"
Expand Down
2 changes: 1 addition & 1 deletion test/error-version-not-match.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Errors when version does not match

$ opam switch create . --empty
$ opam switch create . --empty | grep -v "to update the current shell environment"

$ cat > test.opam <<EOF
> opam-version: "2.0"
Expand Down
2 changes: 1 addition & 1 deletion test/more-than-one-depext.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Supports package with more than one depext

$ opam switch create . --empty
$ opam switch create . --empty | grep -v "to update the current shell environment"

$ cat > test.opam <<EOF
> opam-version: "2.0"
Expand Down
2 changes: 1 addition & 1 deletion test/more-than-one-npm-in-list.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Supports having more than one npm package in the syspkg list

$ opam switch create . --empty
$ opam switch create . --empty | grep -v "to update the current shell environment"

$ cat > test.opam <<EOF
> opam-version: "2.0"
Expand Down

0 comments on commit a0d8d81

Please sign in to comment.