Sha256: e8b9f1a8eeaa30b8bb4cad66f04a44231fc37400584d699b10ce8251eed531ec
Contents?: true
Size: 386 Bytes
Versions: 6
Compression:
Stored size: 386 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 require_relative 'helper' class TestExprHas < TestImpl def test_has_int d = make_sample_data x = WAB::Impl::Has.new('num') assert(x.eval(d), 'checking HAS match') x = WAB::Impl::Has.new('none') refute(x.eval(d), 'checking HAS mismatch') end # TBD test with path as an array, tests with symbol path end # TestExprHas
Version data entries
6 entries across 6 versions & 1 rubygems