Rename bytes type to blob

This commit is contained in:
Asdine El Hrychy
2020-02-01 17:56:33 +01:00
parent 0d02aca5eb
commit 3313a83bc8
16 changed files with 68 additions and 67 deletions

View File

@@ -25,7 +25,7 @@ var textFuncs = []struct {
fn func(x interface{}) document.Value
}{
{"string", func(x interface{}) document.Value { return document.NewTextValue(x.(string)) }},
{"bytes", func(x interface{}) document.Value { return document.NewBytesValue([]byte(x.(string))) }},
{"bytes", func(x interface{}) document.Value { return document.NewBlobValue([]byte(x.(string))) }},
}
func TestComparisonNumbers(t *testing.T) {