diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-08-28 20:54:34 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-08-28 20:54:34 +0200 |
commit | 2cd98a3bcd18870da4404693212119dd8ccfaf68 (patch) | |
tree | 9fb91f1d9bf6401b7d4bc3c2dcdfcb779d230e5a /chunk_test.go | |
parent | 129a86b3a6780b7aee5a7469cc5adeaf2ea6c20f (diff) | |
download | dna-backup-2cd98a3bcd18870da4404693212119dd8ccfaf68.tar.gz dna-backup-2cd98a3bcd18870da4404693212119dd8ccfaf68.zip |
refactor(chunks): use more interfaces
Diffstat (limited to 'chunk_test.go')
-rw-r--r-- | chunk_test.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/chunk_test.go b/chunk_test.go deleted file mode 100644 index 4ea6b44..0000000 --- a/chunk_test.go +++ /dev/null @@ -1,14 +0,0 @@ -package main - -import "testing" - -func TestIsStored(t *testing.T) { - stored := Chunk{Id: &ChunkId{0, 0}} - if !stored.isStored() { - t.Error("Chunk ", stored, " should be stored") - } - unstored := Chunk{} - if unstored.isStored() { - t.Error("Chunk ", unstored, " should not be stored") - } -} |