From a0d8d819132873beba8b94612065b7a1692eba68 Mon Sep 17 00:00:00 2001 From: Javier Chavarri Date: Fri, 11 Aug 2023 14:38:38 +0000 Subject: [PATCH] remove opam info msg from output --- test/dry-run.t | 2 +- test/error-no-node_module.t | 2 +- test/error-non-eq-filter.t | 2 +- test/error-version-not-match.t | 2 +- test/more-than-one-depext.t | 2 +- test/more-than-one-npm-in-list.t | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/dry-run.t b/test/dry-run.t index f7db55f..300d67d 100644 --- a/test/dry-run.t +++ b/test/dry-run.t @@ -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 < opam-version: "2.0" diff --git a/test/error-no-node_module.t b/test/error-no-node_module.t index da4ca87..ea8e828 100644 --- a/test/error-no-node_module.t +++ b/test/error-no-node_module.t @@ -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 < opam-version: "2.0" diff --git a/test/error-non-eq-filter.t b/test/error-non-eq-filter.t index fa6f439..5798df9 100644 --- a/test/error-non-eq-filter.t +++ b/test/error-non-eq-filter.t @@ -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 < opam-version: "2.0" diff --git a/test/error-version-not-match.t b/test/error-version-not-match.t index 7bc7d7f..30a155d 100644 --- a/test/error-version-not-match.t +++ b/test/error-version-not-match.t @@ -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 < opam-version: "2.0" diff --git a/test/more-than-one-depext.t b/test/more-than-one-depext.t index 799634f..56418ff 100644 --- a/test/more-than-one-depext.t +++ b/test/more-than-one-depext.t @@ -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 < opam-version: "2.0" diff --git a/test/more-than-one-npm-in-list.t b/test/more-than-one-npm-in-list.t index 0917c16..9d58cb4 100644 --- a/test/more-than-one-npm-in-list.t +++ b/test/more-than-one-npm-in-list.t @@ -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 < opam-version: "2.0"