File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments