mirror of https://github.com/databricks/cli.git
Compare commits
3 Commits
334b1a385d
...
b753bbe398
Author | SHA1 | Date |
---|---|---|
Pieter Noordhuis | b753bbe398 | |
Pieter Noordhuis | 16e5e788f1 | |
Pieter Noordhuis | f0aa673be4 |
|
@ -18,7 +18,7 @@ type WriteMode int
|
|||
const writeModePerm = WriteMode(fs.ModePerm)
|
||||
|
||||
const (
|
||||
OverwriteIfExists WriteMode = writeModePerm + 1<<iota
|
||||
OverwriteIfExists WriteMode = (writeModePerm + 1) << iota
|
||||
CreateParentDirectories
|
||||
)
|
||||
|
||||
|
|
|
@ -8,4 +8,5 @@ import (
|
|||
|
||||
func TestWriteMode(t *testing.T) {
|
||||
assert.Equal(t, 512, int(OverwriteIfExists))
|
||||
assert.Equal(t, 1024, int(CreateParentDirectories))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue