Include input string when reporting parsing error (as NoConvert)
This commit is contained in:
1 parent
51386c81b4
commit
f4576d4c33
5 files changed
+65
-26
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ void testAssignUnion()
|
||||
|
||||
testFalse(val["->"].valid());
|
||||
|
||||
testThrows<std::invalid_argument>([&val](){
|
||||
testThrows<NoConvert>([&val](){
|
||||
val["->u16"] = "hello";
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user