mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-30 00:17:52 +00:00
Final set of fixes for floating matchers approvals
This commit is contained in:
parent
a0dbc62955
commit
8dbaac61ff
5 changed files with 70 additions and 62 deletions
|
@ -57,7 +57,9 @@ nanParser = re.compile(r'''
|
|||
|
|
||||
\(\(float\)\(INFINITY\ \*\ 0\.0F\)\) # Yet another MSVC NAN macro
|
||||
|
|
||||
\(__builtin_nanf\ \(""\)\) # Linux (ubuntu) NAN macro
|
||||
\(__builtin_nanf\ \(""\)\) # Linux (ubuntu) NAN macro
|
||||
|
|
||||
__builtin_nanf\("0x<hex\ digits>"\) # The weird content of the brackets is there because a different parser has already ran before this one
|
||||
''', re.VERBOSE)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue