Skip to content

Commit

Permalink
fix extension formatter test
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincabbage committed Oct 7, 2019
1 parent 2e42fab commit 27590bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ A simple CLI wrapping the package is also included.

```text
NAME:
chiv - Archive relational database tables to Amazon S3
chiv - Archive relational data to Amazon S3
USAGE:
chiv [flags...]
Expand Down
8 changes: 3 additions & 5 deletions chiv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,9 @@ func TestArchiveRows(t *testing.T) {
columns: []string{"first_column", "second_column"},
scan: [][]string{{"first", "second"}},
},
expectedKey: "NOTEQUALWTFtable.ext",
uploader: &uploader{
uploadErr: errors.New("uploading"),
},
formatter: &extensionFormatter{&formatter{}},
expectedKey: "table.ext",
uploader: &uploader{},
formatter: &extensionFormatter{&formatter{}},
},
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/chiv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
app := cli.App{
Name: "chiv",
HelpName: "chiv",
Usage: "Archive relational database tables to Amazon S3",
Usage: "Archive relational data to Amazon S3",
Version: version,
UsageText: "chiv [flags...]",
HideHelp: true,
Expand Down

0 comments on commit 27590bc

Please sign in to comment.