From ffd9265aa3b8b0232074794c947f54c8942a453e Mon Sep 17 00:00:00 2001 From: Fabrizio Ferrai Date: Wed, 6 Dec 2023 14:44:38 +0200 Subject: [PATCH] Fix BuildInfo tests: check for stdout instead of stderr (#1133) --- test/Spago/Build/BuildInfo.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Spago/Build/BuildInfo.purs b/test/Spago/Build/BuildInfo.purs index 2ef087081..06cb39428 100644 --- a/test/Spago/Build/BuildInfo.purs +++ b/test/Spago/Build/BuildInfo.purs @@ -28,7 +28,7 @@ spec = spagoResult <- spago [ "--version" ] sVersion <- case spagoResult of Left e -> MonadError.throwError $ Exception.error e.message - Right a -> pure a.stderr + Right a -> pure a.stdout pure $ Array.intercalate "\n" $