spec/unit/compiler/test_dialect_enforcer.rb in wlang-2.0.0.beta vs spec/unit/compiler/test_dialect_enforcer.rb in wlang-2.0.0
- old
+ new
@@ -10,10 +10,10 @@
WLang::dialect{
tag('$') do |buf,fn| buf << "$" end
tag('!$') do |buf,fn| buf << "!$" end
tag('*') do |buf,fn1,fn2| end
tag('%', [WLang::Dummy]) do |buf, fn| end
- }.factor
+ }.new
}
describe 'find_dispatching_method' do
let(:e){ DialectEnforcer.new(:dialect => dialect) }
it 'works on exact matching' do