mojolicious / mojo

:sparkles: Mojolicious - Perl real-time web framework
https://mojolicious.org
Artistic License 2.0
2.66k stars 576 forks source link

WIP: Adding tests for json_* subroutines in Test::Mojo. #2150

Open sergiotarxz opened 4 months ago

sergiotarxz commented 4 months ago

Summary

Adding tests for json_* subroutines in Test::Mojo.

Motivation

Issue #1488

References

1488

sergiotarxz commented 4 months ago

The result for json_message_has in the negative case is:

is_deeply \@args, ['ok', undef, 'has value for JSON Pointer "/test0"'];

Which appears sightly inconsistent with other negative cases being !!0 including json_has, probably not an issue but I think it is good to be known.

mergify[bot] commented 1 month ago

This pull request is now in conflicts. Could you fix it @sergiotarxz? 🙏