Skip to content

Commit

Permalink
add new unittest on 'end' keyword used for an option-string
Browse files Browse the repository at this point in the history
  • Loading branch information
atecon committed Nov 20, 2024
1 parent 45a08d7 commit 2129cae
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions unittests/practice_scripts/error_option_string_end_keyword.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set verbose off
set assert stop
/*
https://sourceforge.net/p/gretl/bugs/314/
*/

clear
set verbose off
open denmark --quiet

strings S = array(1)

catch gnuplot LRM LRY --with-lines --time-series --outbuf=S[1] # WORKS
assert($error == FALSE)

catch gnuplot LRM LRY --with-lines --time-series --outbuf=S[end] # has failed until 2024-11-20
assert($error == FALSE)

quit

0 comments on commit 2129cae

Please sign in to comment.