Skip to content

Commit 18c8b61

Browse files
committed
Clip_Tests.cpp: No InvalidJSON "" file_path args
1 parent 291719f commit 18c8b61

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/Clip_Tests.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ TEST(Clip_Properties)
120120

121121
if (!success)
122122
// Raise exception
123-
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
123+
throw InvalidJSON("JSON could not be parsed (or is invalid)");
124124

125125
try
126126
{
@@ -132,7 +132,7 @@ TEST(Clip_Properties)
132132
catch (const std::exception& e)
133133
{
134134
// Error parsing JSON (or missing keys)
135-
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
135+
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
136136
}
137137

138138

@@ -145,7 +145,7 @@ TEST(Clip_Properties)
145145
properties.c_str() + properties.size(), &root, &errors );
146146
if (!success)
147147
// Raise exception
148-
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
148+
throw InvalidJSON("JSON could not be parsed (or is invalid)");
149149

150150
try
151151
{
@@ -157,7 +157,7 @@ TEST(Clip_Properties)
157157
catch (const std::exception& e)
158158
{
159159
// Error parsing JSON (or missing keys)
160-
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
160+
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
161161
}
162162

163163

@@ -170,7 +170,7 @@ TEST(Clip_Properties)
170170
properties.c_str() + properties.size(), &root, &errors );
171171
if (!success)
172172
// Raise exception
173-
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
173+
throw InvalidJSON("JSON could not be parsed (or is invalid)");
174174

175175
try
176176
{
@@ -181,7 +181,7 @@ TEST(Clip_Properties)
181181
catch (const std::exception& e)
182182
{
183183
// Error parsing JSON (or missing keys)
184-
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
184+
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
185185
}
186186

187187

@@ -194,7 +194,7 @@ TEST(Clip_Properties)
194194
properties.c_str() + properties.size(), &root, &errors );
195195
if (!success)
196196
// Raise exception
197-
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
197+
throw InvalidJSON("JSON could not be parsed (or is invalid)");
198198

199199
try
200200
{
@@ -206,7 +206,7 @@ TEST(Clip_Properties)
206206
catch (const std::exception& e)
207207
{
208208
// Error parsing JSON (or missing keys)
209-
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
209+
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
210210
}
211211

212212

0 commit comments

Comments
 (0)