mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prettier the rest of ReactNative
Reviewed By: yungsters Differential Revision: D7974340 fbshipit-source-id: 5fe457a8a9be4bd360fc3af9acb5c1136b2be0d7
This commit is contained in:
committed by
Facebook Github Bot
parent
aba4ec0c09
commit
36fcbaa56d
@@ -4,6 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -24,9 +25,7 @@ function strictStringCompare(a, b) {
|
||||
}
|
||||
|
||||
function assertStrictStringEquals(a, b) {
|
||||
assertTrue(
|
||||
strictStringCompare(a,b),
|
||||
'Expected: ' + a + ', received: ' + b);
|
||||
assertTrue(strictStringCompare(a, b), 'Expected: ' + a + ', received: ' + b);
|
||||
}
|
||||
|
||||
var TestJavaToJSArgumentsModule = {
|
||||
@@ -92,7 +91,8 @@ var TestJavaToJSArgumentsModule = {
|
||||
assertStrictStringEquals('\uD83D\uDE1C', map['four-bytes']);
|
||||
assertStrictStringEquals(
|
||||
'\u017C\u00F3\u0142\u0107 g\u0119\u015Bl\u0105 \u6211 \uD83D\uDE0E ja\u017A\u0107',
|
||||
map.mixed);
|
||||
map.mixed,
|
||||
);
|
||||
},
|
||||
receiveArrayWithMultibyteUTF8CharacterString: function(array) {
|
||||
assertTrue(true);
|
||||
@@ -101,13 +101,14 @@ var TestJavaToJSArgumentsModule = {
|
||||
assertStrictStringEquals('\uD83D\uDE1C', array[2]);
|
||||
assertStrictStringEquals(
|
||||
'\u017C\u00F3\u0142\u0107 g\u0119\u015Bl\u0105 \u6211 \uD83D\uDE0E ja\u017A\u0107',
|
||||
array[3]);
|
||||
array[3],
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
BatchedBridge.registerCallableModule(
|
||||
'TestJavaToJSArgumentsModule',
|
||||
TestJavaToJSArgumentsModule
|
||||
TestJavaToJSArgumentsModule,
|
||||
);
|
||||
|
||||
module.exports = TestJavaToJSArgumentsModule;
|
||||
|
||||
Reference in New Issue
Block a user