Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
344 changes: 94 additions & 250 deletions spec/compiler/formatter/formatter_spec.cr

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion spec/llvm-ir/pass-closure-to-c-debug-loc.cr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def raise(msg)
end

x = 1
f = ->{ x }
f = -> { x }
Foo.foo(f)

# CHECK: define internal i8* @"~check_proc_is_not_closure"(%"->" %0)
Expand Down
2 changes: 1 addition & 1 deletion spec/llvm-ir/proc-call-debug-loc.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
x = ->{}
x = -> { }
x.call
# CHECK: extractvalue %"->" %{{[0-9]+}}, 0
# CHECK-SAME: !dbg [[LOC:![0-9]+]]
Expand Down
2 changes: 1 addition & 1 deletion spec/std/benchmark_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe Benchmark::IPS::Job do
end

private def create_entry
Benchmark::IPS::Entry.new("label", ->{ 1 + 1 })
Benchmark::IPS::Entry.new("label", -> { 1 + 1 })
end

private def h_mean(mean)
Expand Down
Loading