Skip to content

Commit c24c470

Browse files
committed
code format
1 parent e4b7059 commit c24c470

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

test/cubdb_test.exs

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -695,25 +695,28 @@ defmodule CubDBTest do
695695
assert ^expected_file_path = CubDB.current_db_file(db)
696696
end
697697

698-
test "cubdb_file? returns false for non-cubdb named files" do
698+
test "cubdb_file?/1 returns false for non-cubdb named files" do
699699
bad_filenames = [
700-
"",
701-
"./db/5432 (copy).cub",
702-
"1234",
703-
"/opt/data/db/11111.cubb",
704-
]
700+
"",
701+
"./db/5432 (copy).cub",
702+
"1234",
703+
"/opt/data/db/11111.cubb"
704+
]
705+
705706
for filename <- bad_filenames do
706707
refute CubDB.cubdb_file?(filename)
707708
end
708709
end
709-
test "cubdb_file? returns true for cubdb named files" do
710+
711+
test "cubdb_file?/1 returns true for cubdb named files" do
710712
good_filenames = [
711-
"0.cub",
712-
"0.compact",
713-
"./db/5432.cub",
714-
"1234.compact",
715-
"/opt/data/db/11111.cub",
716-
]
713+
"0.cub",
714+
"0.compact",
715+
"./db/5432.cub",
716+
"1234.compact",
717+
"/opt/data/db/11111.cub"
718+
]
719+
717720
for filename <- good_filenames do
718721
assert CubDB.cubdb_file?(filename)
719722
end

0 commit comments

Comments
 (0)