test/test_faker_code.rb in faker-1.5.0 vs test/test_faker_code.rb in faker-1.6.0
- old
+ new
@@ -26,6 +26,10 @@
end
def test_rut
assert @tester.rut.match(/^\d{1,8}-(\d|k)$/)
end
+
+ def test_nric
+ assert @tester.nric.match(/^(S|T)\d{7}[A-JZ]$/)
+ end
end