# File test/test_wpm_check_util.rb, line 22 def test_check_not_empty check_not_empty('foo') check_not_empty(' ') assert_exception(RuntimeError) { check_not_empty('') } assert_exception(RuntimeError) { check_not_empty(nil) } check_not_empty('foo', true) assert_exception(RuntimeError) { check_not_empty(' ', true) } assert_exception(RuntimeError) { check_not_empty('', true) } assert_exception(RuntimeError) { check_not_empty(nil, true) } end