Skip to content

Commit

Permalink
Update test expectations due to prism bump
Browse files Browse the repository at this point in the history
  • Loading branch information
KaanOzkan committed Jun 10, 2024
1 parent b6ab369 commit d44d1a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/tapioca/cli/annotations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class AnnotationForSpoom

assert_stderr_includes(result, <<~ERR)
Can't import RBI file for `spoom` as it contains errors:
Error: unexpected end of file, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (-:4:0)
Error: unexpected end-of-input, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (-:4:0)
ERR

refute_includes(result.out, "create sorbet/rbi/annotations/spoom.rbi")
Expand Down
2 changes: 1 addition & 1 deletion spec/tapioca/cli/check_shims_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def foo; end

assert_stderr_equals(<<~ERR, result)
Warning: unexpected end of file, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (sorbet/rbi/shims/foo.rbi:2:0)
Warning: unexpected end-of-input, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (sorbet/rbi/shims/foo.rbi:2:0)
Duplicated RBI for ::Foo#foo:
* sorbet/rbi/shims/bar.rbi:2:2-2:14
Expand Down
2 changes: 1 addition & 1 deletion spec/tapioca/cli/gem_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ module Foo # Syntax error
assert_stderr_includes(result, "RBIs exported by `foo` contain errors and can't be used:")
assert_stderr_includes(
result,
"unexpected end of file, assuming it is closing the parent top level context. expected an `end` to close " \
"unexpected end-of-input, assuming it is closing the parent top level context. expected an `end` to close " \
"the `module` statement.",
)
assert_stderr_includes(result, "foo/rbi/foo.rbi:2:0")
Expand Down

0 comments on commit d44d1a9

Please sign in to comment.