summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kitchen <andrew.kitchen@mapbox.com>2018-04-26 18:16:50 -0700
committerAndrew Kitchen <andrew.kitchen@mapbox.com>2018-04-26 18:55:21 -0700
commitb4fee66b23a26b61a4e15e2692ce075590a1f265 (patch)
treef8162a5fca23ca6c8036d42be7a8551a9d63b271
parent2ff4e1b54f0f8bab10ffa27412cf95c8e47c166f (diff)
downloadqtlocation-mapboxgl-b4fee66b23a26b61a4e15e2692ce075590a1f265.tar.gz
Adjust JS expressions test runner following merge
-rw-r--r--platform/darwin/test/MGLExpressionJSTests.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLExpressionJSTests.mm b/platform/darwin/test/MGLExpressionJSTests.mm
index ae2bae57a9..d4bb25c42a 100644
--- a/platform/darwin/test/MGLExpressionJSTests.mm
+++ b/platform/darwin/test/MGLExpressionJSTests.mm
@@ -159,7 +159,7 @@ NSSet *testsToSkip = [NSSet setWithObjects:
- (void)runTestsNamed:(NSString *)testName withDictionary:(NSDictionary *)testcase {
NSArray *inputs = testcase[@"inputs"];
- NSExpression *exp = [NSExpression mgl_expressionWithJSONObject:testcase[@"expression"]];
+ NSExpression *exp = [NSExpression expressionWithMGLJSONObject:testcase[@"expression"]];
for (int i = 0; i < inputs.count; i++) {
NSArray *input = inputs[i];