Skip to content

Commit 868bee0

Browse files
committed
Use double quote in benchmark template [ci skip]
1 parent e97f913 commit 868bee0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use [benchmark-ips](https://github.com/evanphx/benchmark-ips) (2.0+).
1919
### Template
2020

2121
```ruby
22-
require 'benchmark/ips'
22+
require "benchmark/ips"
2323

2424
def fast
2525
end
@@ -28,8 +28,8 @@ def slow
2828
end
2929

3030
Benchmark.ips do |x|
31-
x.report('fast code description') { fast }
32-
x.report('slow code description') { slow }
31+
x.report("fast code description") { fast }
32+
x.report("slow code description") { slow }
3333
x.compare!
3434
end
3535
```

0 commit comments

Comments
 (0)