diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-12-19 11:45:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 11:45:00 -0800 |
commit | a174588e6ccb5c0101479c882d399a07ba96ba76 (patch) | |
tree | 7813fafc640fffdc403d63ce6068cd63fb502b5a /platform/darwin/test/MGLStyleValueTests.swift | |
parent | e2fde9cc4eff3de5ab2f513d0c24ad5471d147e6 (diff) | |
download | qtlocation-mapboxgl-a174588e6ccb5c0101479c882d399a07ba96ba76.tar.gz |
[ios, macos] Rename base to interpolationBase (#7486)
Diffstat (limited to 'platform/darwin/test/MGLStyleValueTests.swift')
-rw-r--r-- | platform/darwin/test/MGLStyleValueTests.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLStyleValueTests.swift b/platform/darwin/test/MGLStyleValueTests.swift index bf01435114..a787804410 100644 --- a/platform/darwin/test/MGLStyleValueTests.swift +++ b/platform/darwin/test/MGLStyleValueTests.swift @@ -32,7 +32,7 @@ extension MGLStyleValueTests { 3: MGLStyleValue(rawValue: true), 4: MGLStyleValue(rawValue: false), ] - symbolStyleLayer.iconAllowsOverlap = MGLStyleFunction<NSNumber>(base: 1, stops: stops) - XCTAssertEqual((symbolStyleLayer.iconAllowsOverlap as! MGLStyleFunction<NSNumber>), MGLStyleFunction(base: 1, stops: stops)) + symbolStyleLayer.iconAllowsOverlap = MGLStyleFunction<NSNumber>(interpolationBase: 1, stops: stops) + XCTAssertEqual((symbolStyleLayer.iconAllowsOverlap as! MGLStyleFunction<NSNumber>), MGLStyleFunction(interpolationBase: 1, stops: stops)) } } |