Skip to content

Commit

Permalink
Merge pull request #39 from rogers0/PR/refine_32bit
Browse files Browse the repository at this point in the history
Refine 32-bit support
  • Loading branch information
adranwit committed Oct 12, 2020
2 parents a08a685 + 010a97e commit c12f88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions data/udf/conversion_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package udf

import (
"github.com/klauspost/cpuid"
"github.com/stretchr/testify/assert"
"github.com/viant/toolbox/data"
"log"
Expand Down Expand Up @@ -139,9 +138,6 @@ func Test_AsString(t *testing.T) {
aMap.Put("k0", true)
expanded := aMap.ExpandAsText(" $AsString(${k0})")
assert.EqualValues(t, "true", expanded)
if cpuid.CPU.CacheLine < 64 {
return
}
//64 bit int
aMap.Put("k1", 2323232323223)
expanded = aMap.ExpandAsText(" $AsString(${k1})")
Expand Down
5 changes: 2 additions & 3 deletions fileset_info_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package toolbox_test

import (
"github.com/klauspost/cpuid"
"github.com/stretchr/testify/assert"
"github.com/viant/toolbox"
"testing"
)

func TestNewFileSetInfoInfo(t *testing.T) {
if cpuid.CPU.CacheLine < 64 {
return
if (32 << uintptr(^uintptr(0)>>63)) < 64 {
t.Skip()
}
fileSetInfo, err := toolbox.NewFileSetInfo("./test/fileset_info/")
if err != nil {
Expand Down

0 comments on commit c12f88e

Please sign in to comment.