12345678910111213141516171819202122 |
- package fileutil
- import (
- "testing"
- "github.com/remogatto/prettytest"
- )
- type testSuite struct {
- prettytest.Suite
- }
- func TestRunner(t *testing.T) {
- prettytest.Run(
- t,
- new(testSuite),
- )
- }
- func (t *testSuite) TestReplaceExt() {
- t.Equal("foo.odt", ReplaceExt("foo.md", "odt"))
- }
|