Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pending formatter features #14718

Merged
Merged
Show file tree
Hide file tree
Changes from 10 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
338 changes: 95 additions & 243 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

describe Benchmark::IPS::Entry, "#set_cycles" do
Expand Down
Loading
Loading