Skip to content

Commit

Permalink
Fix TextInputTestCase
Browse files Browse the repository at this point in the history
Summary:
#22166 removed inline styles from TextInputTestModule but applied the incorrect style to some of the TextInputs - instead of setting the text color, it set the margin. This caused the test to fail because no color was applied.

Changelog: [Android] [Fixed] Fixed style in TextInputTestCase

Reviewed By: zackargyle

Differential Revision: D19912362

fbshipit-source-id: d5068114b726ee7583842e5f6f323862b0c28e44
  • Loading branch information
Emily Janzer authored and facebook-github-bot committed Feb 14, 2020
1 parent a1b14de commit 8c49380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactAndroid/src/androidTest/js/TextInputTestModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const styles = StyleSheet.create({
fontWeight: 'bold',
},
textInputColor: {
marginLeft: 20,
color: '#00ff00',
},
});

Expand Down

0 comments on commit 8c49380

Please sign in to comment.