Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 4a38eaf

Browse files
committed
fix lint
1 parent ab02a89 commit 4a38eaf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/ConstMapSpecTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class ConstMapSpecTest extends TypeSpecTest<\ConstMap<arraykey, mixed>> {
3030
tuple(vec['123'], ImmMap {0 => 123}),
3131
tuple(keyset['123'], ImmMap {'123' => 123}),
3232
tuple(varray[123], ImmMap {0 => 123}),
33-
tuple(darray["123" => 123], ImmMap {'123' => 123}),
33+
tuple(darray['123' => 123], ImmMap {'123' => 123}),
3434
];
3535
}
3636

tests/DArraySpecTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class DArraySpecTest extends TypeSpecTest<darray<arraykey, mixed>> {
3232
tuple(keyset['123'], darray['123' => 123]),
3333
tuple(keyset[123], darray[123 => 123]),
3434
tuple(varray[123], darray[0 => 123]),
35-
tuple(darray["123" => 123], darray['123' => 123]),
35+
tuple(darray['123' => 123], darray['123' => 123]),
3636
];
3737
}
3838

tests/DictSpecTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class DictSpecTest extends TypeSpecTest<dict<arraykey, mixed>> {
3131
tuple(keyset['123'], dict['123' => 123]),
3232
tuple(keyset[123], dict[123 => 123]),
3333
tuple(varray[123], dict[0 => 123]),
34-
tuple(darray["123" => 123], dict['123' => 123]),
34+
tuple(darray['123' => 123], dict['123' => 123]),
3535
];
3636
}
3737

tests/FloatSpecTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ final class FloatSpecTest extends TypeSpecTest<float> {
3636
tuple(new TestStringable('1.23'), 1.23),
3737
tuple(Math\INT64_MAX, (float)Math\INT64_MAX),
3838
tuple((string)Math\INT64_MAX, (float)Math\INT64_MAX),
39-
tuple("9223372036854775808", 9223372036854775808.0), //INT64_MAX+1
39+
tuple('9223372036854775808', 9223372036854775808.0), //INT64_MAX+1
4040
tuple('007', 7.0),
4141
tuple('-7', -7.0),
4242
tuple('-007', -7.0),

tests/TypeSpecTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ abstract class TypeSpecTest<T> extends \Facebook\HackTest\HackTest {
7474

7575
expect($this->getTypeSpec()->coerceType($actual))->toEqual(
7676
$actual,
77-
"Expected coerce(coerce(x)) to be the same value as coerce(x)",
77+
'Expected coerce(coerce(x)) to be the same value as coerce(x)',
7878
);
7979
}
8080

0 commit comments

Comments
 (0)