Sha256: 98de1b5c30ba75b331de415852feb4bffeff8a8b57a8d0f05b9135dbd7306d41
Contents?: true
Size: 318 Bytes
Versions: 56
Compression:
Stored size: 318 Bytes
Contents
require 'spec_helper' describe Opal do context '.instance_variable_name!' do it 'does not use regular expressions on Opal level, so $` stays the same' do 'some string' =~ /string/ post_match = $` Opal.instance_variable_name!(:@ivar_name) expect($`).to eq(post_match) end end end
Version data entries
56 entries across 56 versions & 1 rubygems