mirror of
https://codeberg.org/vyn/rei-json.git
synced 2025-07-02 01:43:19 +00:00
Add Exceptions indicating which line contains error when parsing JSON
This commit is contained in:
parent
fd034eff71
commit
2639dba60a
9 changed files with 307 additions and 177 deletions
|
@ -21,7 +21,7 @@ Include(FetchContent)
|
|||
FetchContent_Declare(
|
||||
Catch2
|
||||
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
||||
GIT_TAG v3.4.0 # or a later release
|
||||
GIT_TAG v3.7.1 # or a later release
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
|
@ -30,6 +30,7 @@ add_executable(tests
|
|||
tests/usage.cpp
|
||||
tests/parsing.cpp
|
||||
tests/stringify.cpp
|
||||
tests/errors.cpp
|
||||
)
|
||||
target_include_directories(tests PRIVATE "include")
|
||||
target_link_libraries(tests PRIVATE rei-json)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue