mirror of
https://github.com/chaisql/chai.git
synced 2025-11-01 19:32:53 +08:00
Rename bytes type to blob
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user