time => Time::Moment->now_utc->strftime('%FT%T%6f%Z') #### # at t/013-context.t line 28. # Using Regexp on $data->{"time"} # got : '2021-05-01T18:58:28Z' # expect : (?^:^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{0,6}Z$) # Looks like you failed 1 test of 1.