From 464cda8b82ed16ff6c7ea4e0bdf51546562cc457 Mon Sep 17 00:00:00 2001 From: Timothy Stack Date: Wed, 22 Jun 2022 09:09:01 -0700 Subject: [PATCH] [tests] update expected output --- test/test_sql.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/test_sql.sh b/test/test_sql.sh index ff551a30..b1f2bfb8 100644 --- a/test/test_sql.sh +++ b/test/test_sql.sh @@ -258,8 +258,10 @@ run_test ${lnav_test} -n \ check_error_output "rename-stdin works without an argument?" < command-option:1 + | |rename-stdin --> ../test/.lnav/formats/default/rename-stdin.lnav:6 - | SELECT raise_error('expecting the new name for stdin as the first argument') WHERE \$1 IS NULL + | ;SELECT raise_error('expecting the new name for stdin as the first argument') WHERE \$1 IS NULL EOF run_test ${lnav_test} -n \ @@ -268,8 +270,10 @@ run_test ${lnav_test} -n \ check_error_output "rename-stdin when there is no stdin file?" < command-option:1 + | |rename-stdin foo --> ../test/.lnav/formats/default/rename-stdin.lnav:7 - | SELECT raise_error('no data was redirected to lnav''s standard-input') + | ;SELECT raise_error('no data was redirected to lnav''s standard-input') | WHERE (SELECT count(1) FROM lnav_file WHERE filepath='stdin') = 0 EOF