MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / TestSepDetect_EmptyInput

Function TestSepDetect_EmptyInput

sepDector_test.go:67–75  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

65}
66
67func TestSepDetect_EmptyInput(t *testing.T) {
68 sd := sepDetecor{}
69 lines := []string{}
70
71 sep := sd.sepDetect(lines)
72 if sep != 0 {
73 t.Errorf("Expected null separator for empty input, got %c", sep)
74 }
75}
76
77func TestSepDetect_InconsistentSeparators(t *testing.T) {
78 sd := sepDetecor{}

Callers

nothing calls this directly

Calls 1

sepDetectMethod · 0.95

Tested by

no test coverage detected