Excludes Test Blocked On "Unknown error"
I try to test the following Rosie code with Rosie 1.2.0 on Windows Subsystem For Linux.
-- Start --
-- Phone_Demo4
rpl 1.2
package phone
local separator = [.-]? local start_area_code = "("? local end_area_code = ")"?
-- Some area codes are not valid. For example "000" is invalid. List those out so we can easily exclude them local invalid_area_code = start_area_code {[0-3][0]{2}} end_area_code -- test local invalid_area_code accepts "000", "100", "200", "300", "(000)"
area_code = {!invalid_area_code start_area_code [:digit:]{3} end_area_code} -- test area_code accepts "248","(248)" -- test area_code rejects "000","(000)"
local invalid_exchange = {[0-1][:digit:]{2}} --test local invalid_exchange accepts "000","100","010" --test local invalid_exchange rejects "200", "220","990"
exchange = {!invalid_exchange [:digit:]{3}} subscriber_number = [:digit:]{4}
full_subscriber_number = {exchange separator subscriber_number} --test full_subscriber_number accepts "4258634","425-8634", "425.8634" --test full_subscriber_number rejects "0058634","005-8634", "005.8634"
full_phone_number = {area_code separator full_subscriber_number} -- test full_phone_number accepts "(248)-425-8634","(248).425.8634", "(248)4258634" -- test full_phone_number includes full_subscriber_number "(248)-425-8634" -- test full_phone_number excludes full_subscriber_number "(248)-000-8634"
-- End --
When I run it I get the following error:
-- Start --
Phone_Demo4.rpl BLOCKED: unknown error (this is a bug) Tests: 26 Errors: 0 Failures: 0 Blocked: 1 Passed: 25
-- End --
If I remove the last line (that is, '-- test full_phone_number excludes full_subscriber_number "(248)-000-8634"') I do not get that blocked message.
Since the message says "this is a bug" I felt I should submit this as an issue.
I did try to test this on the development tip from GitLab but I was unable to get tip building.