diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-25 15:13:37 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-25 15:13:37 -0500 |
| commit | 7aa84e26f0405b12ab9bbeb6001ec1af64e7a006 (patch) | |
| tree | 01791424264db6750a52c7d8b2fda480ed9f883e /main_test.go | |
| parent | 06fa3a5174e02ebf1061e67e60530c6d519eb9c1 (diff) | |
Split NewCombobox() into separate functions NewCombobox() and NewEditableCombobox().
Diffstat (limited to 'main_test.go')
| -rw-r--r-- | main_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main_test.go b/main_test.go index 4960dd3..23a2e16 100644 --- a/main_test.go +++ b/main_test.go @@ -13,8 +13,8 @@ func TestMain(t *testing.T) { b2 := NewButton("Or Me") s2 := NewStack(Horizontal, b, b2) c := NewCheckbox("Check Me") - cb1 := NewCombobox(true, "You can edit me!", "Yes you can!", "Yes you will!") - cb2 := NewCombobox(false, "You can't edit me!", "No you can't!", "No you won't!") + cb1 := NewEditableCombobox("You can edit me!", "Yes you can!", "Yes you will!") + cb2 := NewCombobox("You can't edit me!", "No you can't!", "No you won't!") e := NewLineEdit("Enter text here too") l := NewLabel("This is a label") b3 := NewButton("List Info") |
