diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-08-13 18:25:17 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-08-13 18:25:17 -0500 |
commit | 5d33040ab80b5cce7883b2e5965aa17db2e6515a (patch) | |
tree | effe42208df6f44933a057dcf8f999061359eed4 /cmd/planr | |
parent | 4a808e5c97725b0fb4174b6961722a3f4600b9a7 (diff) | |
download | deb-planr-5d33040ab80b5cce7883b2e5965aa17db2e6515a.tar.xz deb-planr-5d33040ab80b5cce7883b2e5965aa17db2e6515a.zip |
Opt to show CLI output over JSON output
Diffstat (limited to 'cmd/planr')
-rw-r--r-- | cmd/planr/sub/cli.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/planr/sub/cli.go b/cmd/planr/sub/cli.go index da888d9..dff9089 100644 --- a/cmd/planr/sub/cli.go +++ b/cmd/planr/sub/cli.go @@ -97,9 +97,9 @@ func tcPprint(tc planr.TestCase) { } else if res.Status == planr.RUNTIME_FAILURE { - if tc.Result.FailureMsg != "" { + if tc.Result.TestOutput != "" { fmt.Println() - pprintFenced("test output", tc.Result.FailureMsg); + pprintFenced("test output", tc.Result.TestOutput); } } |