Add end-of-file-fixer pre-commit hook (#3176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
2
test/android/.gitignore
vendored
2
test/android/.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
.gradle/
|
||||
**/.cxx/
|
||||
app/build
|
||||
app/build
|
||||
|
||||
@@ -65,4 +65,4 @@ dependencies {
|
||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
|
||||
androidTestImplementation("androidx.test:rules:1.6.1")
|
||||
implementation("io.github.vvb2060.ndk:curl:8.8.0")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,4 @@ rootProject.name = "androidCppUnitTests"
|
||||
|
||||
include(":app")
|
||||
|
||||
includeBuild(file("../../platform/android/MapLibrePlugin"))
|
||||
includeBuild(file("../../platform/android/MapLibrePlugin"))
|
||||
|
||||
2
test/fixtures/annotations/emerald.json
vendored
2
test/fixtures/annotations/emerald.json
vendored
File diff suppressed because one or more lines are too long
2
test/fixtures/annotations/emerald@2x.json
vendored
2
test/fixtures/annotations/emerald@2x.json
vendored
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"acos",
|
||||
0.5
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"acos",
|
||||
1.5
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/all.a.json
vendored
2
test/fixtures/expression_equality/all.a.json
vendored
@@ -14,4 +14,4 @@
|
||||
"y"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/all.b.json
vendored
2
test/fixtures/expression_equality/all.b.json
vendored
@@ -14,4 +14,4 @@
|
||||
"y_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/any.a.json
vendored
2
test/fixtures/expression_equality/any.a.json
vendored
@@ -14,4 +14,4 @@
|
||||
"y"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/any.b.json
vendored
2
test/fixtures/expression_equality/any.b.json
vendored
@@ -14,4 +14,4 @@
|
||||
"y_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
3
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
4
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"asin",
|
||||
0.5
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"asin",
|
||||
1.5
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/at.a.json
vendored
2
test/fixtures/expression_equality/at.a.json
vendored
@@ -17,4 +17,4 @@
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/at.b.json
vendored
2
test/fixtures/expression_equality/at.b.json
vendored
@@ -17,4 +17,4 @@
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"atan",
|
||||
1
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"atan",
|
||||
2
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
],
|
||||
"y",
|
||||
"otherwise"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
],
|
||||
"y",
|
||||
"otherwise_other"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
"z"
|
||||
],
|
||||
0
|
||||
]
|
||||
]
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
"z"
|
||||
],
|
||||
1
|
||||
]
|
||||
]
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
"a",
|
||||
"b",
|
||||
"c"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
"a",
|
||||
"b",
|
||||
"c_other"
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/cos.a.json
vendored
2
test/fixtures/expression_equality/cos.a.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"cos",
|
||||
0
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/cos.b.json
vendored
2
test/fixtures/expression_equality/cos.b.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"cos",
|
||||
1
|
||||
]
|
||||
]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"type": "LineString",
|
||||
"coordinates": [[0, 0], [0, 5], [5, 5], [5, 0]]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"type": "LineString",
|
||||
"coordinates": [[0, 0], [0, 6], [5, 5], [5, 0]]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"/",
|
||||
10,
|
||||
5
|
||||
]
|
||||
]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"/",
|
||||
10,
|
||||
6
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"downcase",
|
||||
"StRiNg"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"downcase",
|
||||
"StRiNg_other"
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/get.a.json
vendored
2
test/fixtures/expression_equality/get.a.json
vendored
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/get.b.json
vendored
2
test/fixtures/expression_equality/get.b.json
vendored
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/has.a.json
vendored
2
test/fixtures/expression_equality/has.a.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"has",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/has.b.json
vendored
2
test/fixtures/expression_equality/has.b.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"has",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"image",
|
||||
"maki-11"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"image",
|
||||
"bicycle-15"
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/in.a.json
vendored
2
test/fixtures/expression_equality/in.a.json
vendored
@@ -17,4 +17,4 @@
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/in.b.json
vendored
2
test/fixtures/expression_equality/in.b.json
vendored
@@ -17,4 +17,4 @@
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/let.a.json
vendored
2
test/fixtures/expression_equality/let.a.json
vendored
@@ -22,4 +22,4 @@
|
||||
"a"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/ln.b.json
vendored
2
test/fixtures/expression_equality/ln.b.json
vendored
@@ -3,4 +3,4 @@
|
||||
[
|
||||
"e"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"log10",
|
||||
100
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"log10",
|
||||
101
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"log2",
|
||||
1024
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"log2",
|
||||
1025
|
||||
]
|
||||
]
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
"b",
|
||||
"Banana",
|
||||
"Kumquat"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
"b",
|
||||
"Banana",
|
||||
"Kumquat_other"
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/max.a.json
vendored
2
test/fixtures/expression_equality/max.a.json
vendored
@@ -3,4 +3,4 @@
|
||||
0,
|
||||
-1,
|
||||
100
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/max.b.json
vendored
2
test/fixtures/expression_equality/max.b.json
vendored
@@ -3,4 +3,4 @@
|
||||
0,
|
||||
-1,
|
||||
101
|
||||
]
|
||||
]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"-",
|
||||
5,
|
||||
7
|
||||
]
|
||||
]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"-",
|
||||
5,
|
||||
8
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/mod.a.json
vendored
2
test/fixtures/expression_equality/mod.a.json
vendored
@@ -2,4 +2,4 @@
|
||||
"%",
|
||||
18,
|
||||
12
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/mod.b.json
vendored
2
test/fixtures/expression_equality/mod.b.json
vendored
@@ -2,4 +2,4 @@
|
||||
"%",
|
||||
18,
|
||||
13
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/not.a.json
vendored
2
test/fixtures/expression_equality/not.a.json
vendored
@@ -7,4 +7,4 @@
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/not.b.json
vendored
2
test/fixtures/expression_equality/not.b.json
vendored
@@ -7,4 +7,4 @@
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -6,4 +6,3 @@
|
||||
"currency": "EUR"
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -6,4 +6,3 @@
|
||||
"currency": "JPY"
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
"number-format",
|
||||
123456.789, {}
|
||||
]
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
"number-format",
|
||||
-123456.789, {}
|
||||
]
|
||||
|
||||
|
||||
@@ -7,4 +7,3 @@
|
||||
"max-fraction-digits": 20
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -7,4 +7,3 @@
|
||||
"max-fraction-digits": 4
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
2,
|
||||
3,
|
||||
4
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
2,
|
||||
3,
|
||||
5
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/pow.a.json
vendored
2
test/fixtures/expression_equality/pow.a.json
vendored
@@ -8,4 +8,4 @@
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/pow.b.json
vendored
2
test/fixtures/expression_equality/pow.b.json
vendored
@@ -8,4 +8,4 @@
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/rgb.a.json
vendored
2
test/fixtures/expression_equality/rgb.a.json
vendored
@@ -3,4 +3,4 @@
|
||||
0,
|
||||
0,
|
||||
255
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
0,
|
||||
255,
|
||||
1
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/sin.a.json
vendored
2
test/fixtures/expression_equality/sin.a.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"sin",
|
||||
0
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/sin.b.json
vendored
2
test/fixtures/expression_equality/sin.b.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"sin",
|
||||
1
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
1,
|
||||
1111
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
1,
|
||||
1112
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/tan.a.json
vendored
2
test/fixtures/expression_equality/tan.a.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"tan",
|
||||
0.7853981633974483
|
||||
]
|
||||
]
|
||||
|
||||
2
test/fixtures/expression_equality/tan.b.json
vendored
2
test/fixtures/expression_equality/tan.b.json
vendored
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"tan",
|
||||
1.7853981633974483
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
2,
|
||||
0.5,
|
||||
2
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
2,
|
||||
0.5,
|
||||
3
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"get",
|
||||
"x_other"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"upcase",
|
||||
"string"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"upcase",
|
||||
"string_other"
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
["within", {
|
||||
"type": "Polygon",
|
||||
"coordinates": [[[0, 0], [0, 5], [5, 5], [5, 0], [0, 0]]]
|
||||
}]
|
||||
}]
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user