diff options
author | Noah Campbell <noahcampbell@gmail.com> | 2013-10-02 01:42:08 +0400 |
---|---|---|
committer | Noah Campbell <noahcampbell@gmail.com> | 2013-10-08 20:37:50 +0400 |
commit | 80009b427fdc9ccac3d27218e41f0fa378087e87 (patch) | |
tree | e366e3a3d1aae3a6152a16f01138d7ef3b0e2805 /transform/posttrans_test.go | |
parent | 94a3184ad0e037f9faefda2bc330503b01f21016 (diff) |
Change the order of Apply to be more Unixy
Typically the destination is on the left and the src is on the right.
Diffstat (limited to 'transform/posttrans_test.go')
-rw-r--r-- | transform/posttrans_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transform/posttrans_test.go b/transform/posttrans_test.go index 3cac6e76b..8ec004e87 100644 --- a/transform/posttrans_test.go +++ b/transform/posttrans_test.go @@ -38,7 +38,7 @@ var abs_url_tests = []test { func apply(t *testing.T, tr Transformer, tests []test) { for _, test := range tests { out := new(bytes.Buffer) - err := tr.Apply(strings.NewReader(test.content), out) + err := tr.Apply(out, strings.NewReader(test.content)) if err != nil { t.Errorf("Unexpected error: %s", err) } |