mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Merge pull request #247 from NativeScript/list-picker-test-fix
Fixed a failing unit test.
This commit is contained in:
@ -220,7 +220,7 @@ export var test_Android_WhenItemsAreEmptyNativeControlDoesNotShowZero = function
|
||||
|
||||
helper.buildUIAndRunTest(_createListPicker(), function (views: Array<viewModule.View>) {
|
||||
var listPicker = <listPickerModule.ListPicker>views[0];
|
||||
var expectedValue = "";
|
||||
var expectedValue = " ";
|
||||
var actualValue = (<any>listPicker)._editText.getText().toString();
|
||||
TKUnit.assert(actualValue === expectedValue, "Actual: " + actualValue + "; Expected: " + expectedValue);
|
||||
});
|
||||
|
Reference in New Issue
Block a user