Fixing LineChart tests.

This commit is contained in:
Jakub Sobon 2019-02-23 20:50:29 -05:00
parent a2642ea039
commit e7e8b29396
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7
1 changed files with 5 additions and 5 deletions

View File

@ -1573,7 +1573,7 @@ func TestOptions(t *testing.T) {
desc: "reserves space for axis without series",
want: widgetapi.Options{
MinimumSize: image.Point{3, 4},
WantMouse: widgetapi.MouseScopeWidget,
WantMouse: widgetapi.MouseScopeGlobal,
},
},
{
@ -1583,7 +1583,7 @@ func TestOptions(t *testing.T) {
},
want: widgetapi.Options{
MinimumSize: image.Point{5, 4},
WantMouse: widgetapi.MouseScopeWidget,
WantMouse: widgetapi.MouseScopeGlobal,
},
},
{
@ -1593,7 +1593,7 @@ func TestOptions(t *testing.T) {
},
want: widgetapi.Options{
MinimumSize: image.Point{6, 4},
WantMouse: widgetapi.MouseScopeWidget,
WantMouse: widgetapi.MouseScopeGlobal,
},
},
{
@ -1606,7 +1606,7 @@ func TestOptions(t *testing.T) {
},
want: widgetapi.Options{
MinimumSize: image.Point{4, 5},
WantMouse: widgetapi.MouseScopeWidget,
WantMouse: widgetapi.MouseScopeGlobal,
},
},
{
@ -1619,7 +1619,7 @@ func TestOptions(t *testing.T) {
},
want: widgetapi.Options{
MinimumSize: image.Point{5, 7},
WantMouse: widgetapi.MouseScopeWidget,
WantMouse: widgetapi.MouseScopeGlobal,
},
},
}