We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
strscan
ruby_exe
1 parent cd82f50 commit a080edbCopy full SHA for a080edb
spec/truffle/strscan/strscan_spec.rb
@@ -4,6 +4,6 @@
4
5
describe 'StringScanner' do
6
it 'has a `scan_internal` method of under 100 AST nodes' do
7
- Truffle::Debug.ast_size(StringScanner.instance_method(:scan_internal)).should < 100
+ ruby_exe('require "strscan"; print Truffle::Debug.ast_size(StringScanner.instance_method(:scan_internal))').to_i.should < 100
8
end
9
0 commit comments