-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BestFirstSearch: recurse within parens as well
Also, remove check for statements within braces.
- Loading branch information
Showing
6 changed files
with
346 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,105 +354,104 @@ | |
) | ||
)) | ||
>>> | ||
EventsResponse.fromJson(json, run).success.value.events should be( | ||
Seq( | ||
Stored( | ||
timestamp = Instant.parse("2016-12-02T16:23:47.412278Z"), | ||
id = "OKO0c_F1RiWU44-qLwYYuA", | ||
storage = Storage( | ||
"https://se.api.mailgun.net/v3/domains/sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org/messages/eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=", | ||
"eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=" | ||
), | ||
`user-variables` = Map( | ||
"custom" -> """{"createdAt":"2016-12-02T16:23:46.637Z","customerId":"canary","traceToken":"22629a34-e5ef-4d2a-bbd4-5193af11e90d","canary":true}""" | ||
), | ||
flags = Map( | ||
"is-test-mode" -> false | ||
), | ||
tags = Nil, | ||
`log-level` = "info", | ||
message = MessageSummary( | ||
Map( | ||
"to" -> "[email protected]", | ||
"message-id" -> "20161202162347.92318.58763.6224A6CC@sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
"from" -> "Ovo Energy <[email protected]>", | ||
"subject" -> "Canary test email (22629a34-e5ef-4d2a-bbd4-5193af11e90d)" | ||
), | ||
Nil, | ||
Seq("[email protected]"), | ||
20430 | ||
) | ||
EventsResponse.fromJson(json, run).success.value.events should be(Seq( | ||
Stored( | ||
timestamp = Instant.parse("2016-12-02T16:23:47.412278Z"), | ||
id = "OKO0c_F1RiWU44-qLwYYuA", | ||
storage = Storage( | ||
"https://se.api.mailgun.net/v3/domains/sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org/messages/eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=", | ||
"eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=" | ||
), | ||
Accepted( | ||
timestamp = Instant.parse("2016-12-02T16:23:47.124505Z"), | ||
id = "N97VBM3jRIGdpHExzz47mg", | ||
tags = Nil, | ||
envelope = Map( | ||
"sender" -> "[email protected]", | ||
"transport" -> "smtp", | ||
"targets" -> "[email protected]" | ||
), | ||
`user-variables` = Map( | ||
"custom" -> """{"createdAt":"2016-12-02T16:23:46.637Z","customerId":"canary","traceToken":"22629a34-e5ef-4d2a-bbd4-5193af11e90d","canary":true}""" | ||
), | ||
storage = Some(Storage( | ||
"https://se.api.mailgun.net/v3/domains/sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org/messages/eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=", | ||
"eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=" | ||
)), | ||
recipient = | ||
"[email protected]", | ||
`recipient-domain` = | ||
"sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
method = "http", | ||
flags = Map( | ||
"is-routed" -> false, | ||
"is-authenticated" -> true, | ||
"is-system-test" -> false, | ||
"is-test-mode" -> false | ||
`user-variables` = Map( | ||
"custom" -> """{"createdAt":"2016-12-02T16:23:46.637Z","customerId":"canary","traceToken":"22629a34-e5ef-4d2a-bbd4-5193af11e90d","canary":true}""" | ||
), | ||
flags = Map( | ||
"is-test-mode" -> false | ||
), | ||
tags = Nil, | ||
`log-level` = "info", | ||
message = MessageSummary( | ||
Map( | ||
"to" -> "[email protected]", | ||
"message-id" -> "20161202162347.92318.58763.6224A6CC@sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
"from" -> "Ovo Energy <[email protected]>", | ||
"subject" -> "Canary test email (22629a34-e5ef-4d2a-bbd4-5193af11e90d)" | ||
), | ||
`log-level` = "info", | ||
message = MessageSummary( | ||
Map( | ||
"to" -> "[email protected]", | ||
"message-id" -> "20161202162347.92318.58763.6224A6CC@sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
"from" -> "Ovo Energy <[email protected]>", | ||
"subject" -> "Canary test email (22629a34-e5ef-4d2a-bbd4-5193af11e90d)" | ||
), | ||
Nil, | ||
Seq("[email protected]"), | ||
20430 | ||
) | ||
Nil, | ||
Seq("[email protected]"), | ||
20430 | ||
) | ||
), | ||
Accepted( | ||
timestamp = Instant.parse("2016-12-02T16:23:47.124505Z"), | ||
id = "N97VBM3jRIGdpHExzz47mg", | ||
tags = Nil, | ||
envelope = Map( | ||
"sender" -> "[email protected]", | ||
"transport" -> "smtp", | ||
"targets" -> "[email protected]" | ||
), | ||
`user-variables` = Map( | ||
"custom" -> """{"createdAt":"2016-12-02T16:23:46.637Z","customerId":"canary","traceToken":"22629a34-e5ef-4d2a-bbd4-5193af11e90d","canary":true}""" | ||
), | ||
Stored( | ||
timestamp = Instant.parse("2016-12-02T15:53:47.045888Z"), | ||
id = "-KayH5ZASKm2AaQQ1wizDw", | ||
storage = Storage( | ||
"https://si.api.mailgun.net/v3/domains/sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org/messages/eyJwIjpmYWxzZSwiayI6IjViNjhkN2QwLWEwZTYtNDU4Yy1hOGJiLTk2ZTY0MWI3MTNhNSIsInMiOiI1ZDY4YWE5M2FmIiwiYyI6InNiaWFkIn0=", | ||
"eyJwIjpmYWxzZSwiayI6IjViNjhkN2QwLWEwZTYtNDU4Yy1hOGJiLTk2ZTY0MWI3MTNhNSIsInMiOiI1ZDY4YWE5M2FmIiwiYyI6InNiaWFkIn0=" | ||
storage = Some(Storage( | ||
"https://se.api.mailgun.net/v3/domains/sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org/messages/eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=", | ||
"eyJwIjpmYWxzZSwiayI6ImUzZWQ3YjYyLTI4YmMtNDZiYy04MGQ3LTg0NTUyZDc4YzU4MSIsInMiOiJlZDY3MzYyNWRhIiwiYyI6InRhbmtiIn0=" | ||
)), | ||
recipient = | ||
"[email protected]", | ||
`recipient-domain` = | ||
"sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
method = "http", | ||
flags = Map( | ||
"is-routed" -> false, | ||
"is-authenticated" -> true, | ||
"is-system-test" -> false, | ||
"is-test-mode" -> false | ||
), | ||
`log-level` = "info", | ||
message = MessageSummary( | ||
Map( | ||
"to" -> "[email protected]", | ||
"message-id" -> "20161202162347.92318.58763.6224A6CC@sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
"from" -> "Ovo Energy <[email protected]>", | ||
"subject" -> "Canary test email (22629a34-e5ef-4d2a-bbd4-5193af11e90d)" | ||
), | ||
`user-variables` = Map( | ||
"custom" -> """{"createdAt":"2016-12-02T15:53:45.732Z","customerId":"canary","traceToken":"769b0d0e-0f89-48b6-8a07-5a459bbdc2ab","canary":true}""" | ||
Nil, | ||
Seq("[email protected]"), | ||
20430 | ||
) | ||
), | ||
Stored( | ||
timestamp = Instant.parse("2016-12-02T15:53:47.045888Z"), | ||
id = "-KayH5ZASKm2AaQQ1wizDw", | ||
storage = Storage( | ||
"https://si.api.mailgun.net/v3/domains/sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org/messages/eyJwIjpmYWxzZSwiayI6IjViNjhkN2QwLWEwZTYtNDU4Yy1hOGJiLTk2ZTY0MWI3MTNhNSIsInMiOiI1ZDY4YWE5M2FmIiwiYyI6InNiaWFkIn0=", | ||
"eyJwIjpmYWxzZSwiayI6IjViNjhkN2QwLWEwZTYtNDU4Yy1hOGJiLTk2ZTY0MWI3MTNhNSIsInMiOiI1ZDY4YWE5M2FmIiwiYyI6InNiaWFkIn0=" | ||
), | ||
`user-variables` = Map( | ||
"custom" -> """{"createdAt":"2016-12-02T15:53:45.732Z","customerId":"canary","traceToken":"769b0d0e-0f89-48b6-8a07-5a459bbdc2ab","canary":true}""" | ||
), | ||
flags = Map( | ||
"is-test-mode" -> false | ||
), | ||
tags = Nil, | ||
`log-level` = "info", | ||
message = MessageSummary( | ||
Map( | ||
"to" -> "[email protected]", | ||
"message-id" -> "20161202155346.30852.16325.1915382A@sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
"from" -> "Ovo Energy <[email protected]>", | ||
"subject" -> "Canary test email (769b0d0e-0f89-48b6-8a07-5a459bbdc2ab)" | ||
), | ||
flags = Map( | ||
"is-test-mode" -> false | ||
Nil, | ||
Seq( | ||
"[email protected]" | ||
), | ||
tags = Nil, | ||
`log-level` = "info", | ||
message = MessageSummary( | ||
Map( | ||
"to" -> "[email protected]", | ||
"message-id" -> "20161202155346.30852.16325.1915382A@sandbox98d59d0a8d0a4af588f2bb683a4a57cc.mailgun.org", | ||
"from" -> "Ovo Energy <[email protected]>", | ||
"subject" -> "Canary test email (769b0d0e-0f89-48b6-8a07-5a459bbdc2ab)" | ||
), | ||
Nil, | ||
Seq( | ||
"[email protected]" | ||
), | ||
20430 | ||
) | ||
20430 | ||
) | ||
)) | ||
) | ||
)) | ||
<<< react #458 | ||
val TodoApp = ReactComponentB[Unit]("TodoApp") | ||
.initialState(State(Nil, "")).renderS( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.