Skip to content

Commit

Permalink
Fixed the wrong name for the product
Browse files Browse the repository at this point in the history
  • Loading branch information
svtk committed Mar 19, 2018
1 parent 888c9a1 commit 1d173f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ii_collections/TestShop.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ii_collections.*
val idea = Product("IntelliJ IDEA Ultimate", 199.0)
val reSharper = Product("ReSharper", 149.0)
val dotTrace = Product("DotTrace", 159.0)
val dotMemory = Product("DotTrace", 129.0)
val dotMemory = Product("DotMemory", 129.0)
val dotCover = Product("DotCover", 99.0)
val appCode = Product("AppCode", 99.0)
val phpStorm = Product("PhpStorm", 99.0)
Expand Down Expand Up @@ -63,7 +63,7 @@ val shop = shop("jb test shop",

)

val customers: Map<String, Customer> = shop.customers.fold(hashMapOf<String, Customer>(), {
val customers: Map<String, Customer> = shop.customers.fold(hashMapOf(), {
map, customer ->
map[customer.name] = customer
map
Expand Down

0 comments on commit 1d173f9

Please sign in to comment.