Unverified Commit 0b4c7775 authored by Ben Kochie's avatar Ben Kochie Committed by GitHub

Fix 32bit compile issue (#273)

Be explicit about 64bit int in test.
Signed-off-by: 's avatarBen Kochie <superq@gmail.com>
parent a71f4bbc
......@@ -76,7 +76,7 @@ func TestParseWsrepProviderOptions(t *testing.T) {
convey.Convey("Parse wsrep_provider_options", t, func() {
convey.So(parseWsrepProviderOptions(testE), convey.ShouldEqual, 0)
convey.So(parseWsrepProviderOptions(testM), convey.ShouldEqual, 128*1024*1024)
convey.So(parseWsrepProviderOptions(testG), convey.ShouldEqual, 2*1024*1024*1024)
convey.So(parseWsrepProviderOptions(testG), convey.ShouldEqual, int64(2*1024*1024*1024))
convey.So(parseWsrepProviderOptions(testB), convey.ShouldEqual, 131072)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment