Skip to content

Commit fd9a374

Browse files
committed
Use single quotes for RuboCop in cext_constants.rb
1 parent 8fa71ce commit fd9a374

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/truffle/truffle/cext_constants.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def rb_eZeroDivError
270270
end
271271

272272
def rb_eFatal
273-
Truffle::CExt.rb_const_get(Object, "fatal")
273+
Truffle::CExt.rb_const_get(Object, 'fatal')
274274
end
275275

276276
def rb_stdin

tool/generate-cext-constants.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
IO::WaitReadable,
7777
IO::WaitWritable,
7878
[ZeroDivisionError, 'ZeroDivError'],
79-
['Truffle::CExt.rb_const_get(Object, "fatal")', 'eFatal'],
79+
['Truffle::CExt.rb_const_get(Object, \'fatal\')', 'eFatal'],
8080
['$stdin', 'stdin'],
8181
['$stdout', 'stdout'],
8282
['$stderr', 'stderr'],

0 commit comments

Comments
 (0)