From 3d7cf4f0cfa81e78e7b423af60bb1785dd561e8c Mon Sep 17 00:00:00 2001 From: Miguel Jimenez Esun Date: Thu, 2 Nov 2017 07:45:52 -0700 Subject: [PATCH] Fix encoding of various files Reviewed By: jeanlauliac Differential Revision: D6220214 fbshipit-source-id: dc97d7ec75a0a52cac5fe2acb980b455094ea7a6 --- Libraries/Animated/src/__tests__/Animated-test.js | 2 +- Libraries/Animated/src/__tests__/bezier-test.js | 2 +- Libraries/Image/__tests__/resolveAssetSource-test.js | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Libraries/Animated/src/__tests__/Animated-test.js b/Libraries/Animated/src/__tests__/Animated-test.js index c68749af6..1ddbb38d5 100644 --- a/Libraries/Animated/src/__tests__/Animated-test.js +++ b/Libraries/Animated/src/__tests__/Animated-test.js @@ -371,7 +371,7 @@ describe('Animated tests', () => { loop.start(cb); expect(animation.start).not.toBeCalled(); - expect(cb).toBeCalledWith({ finished: true }); + expect(cb).toBeCalledWith({finished: true}); }); it('supports interrupting an indefinite loop', () => { diff --git a/Libraries/Animated/src/__tests__/bezier-test.js b/Libraries/Animated/src/__tests__/bezier-test.js index 7e353475d..a44b9be46 100644 --- a/Libraries/Animated/src/__tests__/bezier-test.js +++ b/Libraries/Animated/src/__tests__/bezier-test.js @@ -2,7 +2,7 @@ * BezierEasing - use bezier curve for transition easing function * https://github.com/gre/bezier-easing * - * @copyright 2014-2015 Gaëtan Renaudeau. MIT License. + * @copyright 2014-2015 Gaetan Renaudeau. MIT License. * @noflow * @emails oncall+react_native */ diff --git a/Libraries/Image/__tests__/resolveAssetSource-test.js b/Libraries/Image/__tests__/resolveAssetSource-test.js index d847e6ae4..bf0507d75 100644 --- a/Libraries/Image/__tests__/resolveAssetSource-test.js +++ b/Libraries/Image/__tests__/resolveAssetSource-test.js @@ -146,7 +146,7 @@ describe('resolveAssetSource', () => { height: 200, scales: [1], hash: '5b6f00f', - name: '!@Logo#1_€', // Invalid chars shouldn't get passed to native + name: '!@Logo#1_\u20ac', // Invalid chars shouldn't get passed to native type: 'png', }, { __packager_asset: true, @@ -174,7 +174,7 @@ describe('resolveAssetSource', () => { height: 200, scales: [1], hash: '5b6f00f', - name: '!@Logo#1_€', + name: '!@Logo#1_\u20ac', type: 'png', }, { __packager_asset: true, @@ -202,7 +202,7 @@ describe('resolveAssetSource', () => { height: 200, scales: [1], hash: '5b6f00f', - name: '!@Logo#1_€', + name: '!@Logo#1_\u20ac', type: 'png', }, { __packager_asset: true, @@ -233,7 +233,7 @@ describe('resolveAssetSource', () => { height: 200, scales: [1], hash: '5b6f00f', - name: '!@Logo#1_€', + name: '!@Logo#1_\u20ac', type: 'png', }, { __packager_asset: true, @@ -256,7 +256,7 @@ describe('resolveAssetSource', () => { height: 200, scales: [1], hash: '5b6f00f', - name: '!@Logo#1_€', + name: '!@Logo#1_\u20ac', type: 'png', }, { __packager_asset: true,