(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestContent(t *testing.T) { |
| 13 | // This test is to ensure that we don't accidentally commit actual license |
| 14 | // files in the repo. The embedded content is only included in release builds, |
| 15 | // so in a normal test build we should get a default message. |
| 16 | require.Equal(t, "License information is only available in official release builds.\n", Content()) |
| 17 | } |
| 18 | |
| 19 | func TestContent_tableTests(t *testing.T) { |
| 20 | tests := []struct { |