Skip to content

Commit

Permalink
TBR: test: expect a specific version
Browse files Browse the repository at this point in the history
Change-Id: I07391c349ef959c6f2eece878ef44b84894023b4
  • Loading branch information
YoungSeok Yoon committed Jun 27, 2016
1 parent 5110ef4 commit 1a8b06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion madb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ func TestConfigMigration(t *testing.T) {
"testdata/configs/newFormat",
map[string]string{"config": "config"},
config{
Version: version,
Version: "v2.0.0",
Names: map[string]string{"nickname01": "serial01", "nickname02": "serial02"},
Groups: map[string][]string{},
UserIDs: map[string]string{"serial01": "10"},
Expand Down
2 changes: 1 addition & 1 deletion testdata/configs/newFormat/config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Version":"v1.1.1-develop","Names":{"nickname01":"serial01","nickname02":"serial02"},"Groups":{},"UserIDs":{"serial01":"10"}}
{"Version":"v2.0.0","Names":{"nickname01":"serial01","nickname02":"serial02"},"Groups":{},"UserIDs":{"serial01":"10"}}

0 comments on commit 1a8b06e

Please sign in to comment.