Skip to content

Commit 941bbd8

Browse files
committed
Adjust deparse line reference in tests to account for changes
1 parent 2118f97 commit 941bbd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/pg_query/deparse_bad_tree_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
expect { PgQuery.deparse(tree) }.to raise_error do |error|
2727
expect(error).to be_a(described_class::ParseError)
28-
expect(error.message).to eq "deparse: error in deparseTargetList: ResTarget without val (postgres_deparse.c:1582)"
28+
expect(error.message).to eq "deparse: error in deparseTargetList: ResTarget without val (postgres_deparse.c:1596)"
2929
end
3030
end
3131
end

0 commit comments

Comments
 (0)