From e7e8b29396a7afd06f7c4bd61dfa02f86968cdef Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Sat, 23 Feb 2019 20:50:29 -0500 Subject: [PATCH] Fixing LineChart tests. --- widgets/linechart/linechart_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/widgets/linechart/linechart_test.go b/widgets/linechart/linechart_test.go index 08ec4cd..971a3c2 100644 --- a/widgets/linechart/linechart_test.go +++ b/widgets/linechart/linechart_test.go @@ -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, }, }, }