Skip to content

Commit

Permalink
wip: remove UT8-chars to see if windows issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 25, 2018
1 parent ea2b8e6 commit ca1feaa
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion examples/consumer/goconsumer/user_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var pact dsl.Pact
var form url.Values
var rr http.ResponseWriter
var req *http.Request
var name = "Jean-Marie de La Beaujardière😀😍"
var name = "sally"
var like = dsl.Like
var eachLike = dsl.EachLike
var term = dsl.Term
Expand Down
6 changes: 3 additions & 3 deletions examples/gin/provider/user_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type Login struct {

var userRepository = &types.UserRepository{
Users: map[string]*types.User{
"Jean-Marie de La Beaujardière😀😍": &types.User{
Name: "Jean-Marie de La Beaujardière😀😍",
Username: "Jean-Marie de La Beaujardière😀😍",
"sally": &types.User{
Name: "sally",
Username: "sally",
Password: "issilly",
Type: "admin",
},
Expand Down
12 changes: 6 additions & 6 deletions examples/gin/provider/user_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ var port, _ = utils.GetFreePort()
// Provider States data sets
var billyExists = &examples.UserRepository{
Users: map[string]*examples.User{
"Jean-Marie de La Beaujardière😀😍": &examples.User{
Name: "Jean-Marie de La Beaujardière😀😍",
Username: "Jean-Marie de La Beaujardière😀😍",
"sally": &examples.User{
Name: "sally",
Username: "sally",
Password: "issilly",
Type: "admin",
},
Expand All @@ -116,9 +116,9 @@ var billyDoesNotExist = &examples.UserRepository{}

var billyUnauthorized = &examples.UserRepository{
Users: map[string]*examples.User{
"Jean-Marie de La Beaujardière😀😍": &examples.User{
Name: "Jean-Marie de La Beaujardière😀😍",
Username: "Jean-Marie de La Beaujardière😀😍",
"sally": &examples.User{
Name: "sally",
Username: "sally",
Password: "issilly1",
Type: "blocked",
},
Expand Down
6 changes: 3 additions & 3 deletions examples/go-kit/provider/user_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ func NewInmemService() Service {
return &userService{
userDatabase: &UserRepository{
users: map[string]*User{
"Jean-Marie de La Beaujardière😀😍": &User{
Name: "Jean-Marie de La Beaujardière😀😍",
username: "Jean-Marie de La Beaujardière😀😍",
"sally": &User{
Name: "sally",
username: "sally",
password: "issilly",
Type: "admin",
},
Expand Down
12 changes: 6 additions & 6 deletions examples/go-kit/provider/user_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var port, _ = utils.GetFreePort()
// Provider States data sets
var billyExists = &UserRepository{
users: map[string]*User{
"Jean-Marie de La Beaujardière😀😍": &User{
Name: "Jean-Marie de La Beaujardière😀😍",
username: "Jean-Marie de La Beaujardière😀😍",
"sally": &User{
Name: "sally",
username: "sally",
password: "issilly",
Type: "admin",
},
Expand All @@ -42,9 +42,9 @@ var billyDoesNotExist = &UserRepository{}

var billyUnauthorized = &UserRepository{
users: map[string]*User{
"Jean-Marie de La Beaujardière😀😍": &User{
Name: "Jean-Marie de La Beaujardière😀😍",
username: "Jean-Marie de La Beaujardière😀😍",
"sally": &User{
Name: "sally",
username: "sally",
password: "issilly1",
Type: "blocked",
},
Expand Down
4 changes: 2 additions & 2 deletions examples/mux/provider/user_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
var userRepository = &types.UserRepository{
Users: map[string]*types.User{
"billy": &types.User{
Name: "Jean-Marie de La Beaujardière😀😍",
Username: "Jean-Marie de La Beaujardière😀😍",
Name: "sally",
Username: "sally",
Password: "issilly",
},
},
Expand Down
12 changes: 6 additions & 6 deletions examples/mux/provider/user_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ var port, _ = utils.GetFreePort()
// Provider States data sets
var billyExists = &examples.UserRepository{
Users: map[string]*examples.User{
"Jean-Marie de La Beaujardière😀😍": &examples.User{
Name: "Jean-Marie de La Beaujardière😀😍",
Username: "Jean-Marie de La Beaujardière😀😍",
"sally": &examples.User{
Name: "sally",
Username: "sally",
Password: "issilly",
Type: "admin",
},
Expand All @@ -142,9 +142,9 @@ var billyDoesNotExist = &examples.UserRepository{}

var billyUnauthorized = &examples.UserRepository{
Users: map[string]*examples.User{
"Jean-Marie de La Beaujardière😀😍": &examples.User{
Name: "Jean-Marie de La Beaujardière😀😍",
Username: "Jean-Marie de La Beaujardière😀😍",
"sally": &examples.User{
Name: "sally",
Username: "sally",
Password: "issilly1",
Type: "blocked",
},
Expand Down

0 comments on commit ca1feaa

Please sign in to comment.