Commit 27597c6b authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2377] Document fields of ErrorCase in tests

parent 612e5244
...@@ -199,8 +199,8 @@ TEST_F(MasterLoaderTest, invalidFile) { ...@@ -199,8 +199,8 @@ TEST_F(MasterLoaderTest, invalidFile) {
} }
struct ErrorCase { struct ErrorCase {
const char* const line; const char* const line; // The broken line in master file
const char* const problem; const char* const problem; // Description of the problem for SCOPED_TRACE
} const error_cases[] = { } const error_cases[] = {
{ "www... 3600 IN A 192.0.2.1", "Invalid name" }, { "www... 3600 IN A 192.0.2.1", "Invalid name" },
{ "www FORTNIGHT IN A 192.0.2.1", "Invalid TTL" }, { "www FORTNIGHT IN A 192.0.2.1", "Invalid TTL" },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment