test/fei_test.rb in openwferu-0.9.11 vs test/fei_test.rb in openwferu-0.9.12
- old
+ new
@@ -107,15 +107,15 @@
def test_parse_unparse
fei0 = new_fei()
s = fei0.to_s
fei1 = OpenWFE::FlowExpressionId.to_fei(s)
+ fei2 = OpenWFE::FlowExpressionId.from_s(s)
puts "\n#{s}\n#{fei1.to_s}" if fei0 != fei1
- assert \
- fei0 == fei1,
- "fei .to_s() and .str_to_fei(s) are not working"
+ assert_equal fei0, fei1
+ assert_equal fei1, fei2
end
def test_parent_wfid
fei = new_fei