File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import (
1616)
1717
1818const (
19- fixtureFile = "../../../../test/fixtures/gistCreate.json "
19+ fixtureFile = "../fixture.txt "
2020)
2121
2222func Test_processFiles (t * testing.T ) {
@@ -162,7 +162,7 @@ func Test_createRun(t *testing.T) {
162162 wantParams : map [string ]interface {}{
163163 "public" : true ,
164164 "files" : map [string ]interface {}{
165- "gistCreate.json " : map [string ]interface {}{
165+ "fixture.txt " : map [string ]interface {}{
166166 "content" : "{}" ,
167167 },
168168 },
@@ -180,7 +180,7 @@ func Test_createRun(t *testing.T) {
180180 wantParams : map [string ]interface {}{
181181 "description" : "an incredibly interesting gist" ,
182182 "files" : map [string ]interface {}{
183- "gistCreate.json " : map [string ]interface {}{
183+ "fixture.txt " : map [string ]interface {}{
184184 "content" : "{}" ,
185185 },
186186 },
@@ -197,7 +197,7 @@ func Test_createRun(t *testing.T) {
197197 wantErr : false ,
198198 wantParams : map [string ]interface {}{
199199 "files" : map [string ]interface {}{
200- "gistCreate.json " : map [string ]interface {}{
200+ "fixture.txt " : map [string ]interface {}{
201201 "content" : "{}" ,
202202 },
203203 "gistfile1.txt" : map [string ]interface {}{
File renamed without changes.
You can’t perform that action at this time.
0 commit comments