Skip to content

Commit

Permalink
rowblk: move unsafe_test.go from sstable
Browse files Browse the repository at this point in the history
The unit tests in unsafe_test.go were vestiges from when the rowblk
implementation was in the sstable package. The sstable package versions of
these functions (getBytes and decodeVarint) were unused outside of tests. This
commit moves these unit tests into the rowblk package where they exercise the
versions of these functions that are actually in use, and removes the unused
sstable package funcs.
  • Loading branch information
jbowens committed Nov 14, 2024
1 parent d542aa7 commit b129495
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
2 changes: 1 addition & 1 deletion sstable/unsafe_test.go → sstable/rowblk/unsafe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// of this source code is governed by a BSD-style license that can be found in
// the LICENSE file.

package sstable
package rowblk

import (
"encoding/binary"
Expand Down
35 changes: 0 additions & 35 deletions sstable/unsafe.go

This file was deleted.

0 comments on commit b129495

Please sign in to comment.