Skip to content

Commit 3fbb554

Browse files
committed
Fix test.
1 parent f21c8f1 commit 3fbb554

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

t/qast/01-qast.t

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,13 @@ is_qast(
297297
is_qast(
298298
QAST::Block.new(
299299
QAST::Var.new( :name('not_set'), :scope('local'), :decl('var'), :returns(str) ),
300-
QAST::Var.new(:name('not_set'), :scope('local'))
300+
QAST::Op.new(
301+
:op('isnull_s'),
302+
QAST::Var.new(:name('not_set'), :scope('local'))
303+
)
301304
),
302-
'',
303-
'str local has a zero default');
305+
1,
306+
'str local has a null_s default');
304307

305308
is_qast(
306309
QAST::Block.new(

0 commit comments

Comments
 (0)