Skip to content

Commit

Permalink
Debug failing spec
Browse files Browse the repository at this point in the history
I can't run `make` currently. Will clean this up later.
  • Loading branch information
r00ster91 committed Jan 3, 2019
1 parent a56ebc3 commit c6c178c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/compiler/semantic/generic_class_spec.cr
Expand Up @@ -636,7 +636,11 @@ describe "Semantic: generic class" do
begin
semantic(nodes)
rescue ex : TypeException
msg = ex.to_s.lines.map(&.strip)
p ex
msg = ex.to_s.lines # .map(&.strip)
p msg
msg_with_strip = ex.to_s.lines.map(&.strip)
p msg_with_strip
msg.count("- Foo(T).foo(x : Int32)").should eq(1)
end
end
Expand Down

0 comments on commit c6c178c

Please sign in to comment.