File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11package org .encalmo .lambda .example
22
3- import org .encalmo .lambda .LambdaContext
4- import org .encalmo .lambda .SimpleLambdaRuntime
5-
3+ import org .encalmo .lambda .{LambdaContext , SimpleLambdaRuntime }
64import scala .annotation .static
75
86object ExampleLambda0 {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class ExampleLambda1 extends LambdaRuntime {
2424
2525 override def initialize (using environment : LambdaEnvironment ): Config = {
2626 val greeting = environment
27- .maybeGetProperty(" EXAMPLE_LAMBDA_GREETING " )
27+ .maybeGetProperty(" LAMBDA_GREETING " )
2828 .getOrElse(" Hello <input>!" )
2929
3030 environment.info(
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class ExampleLambda1Spec extends munit.FunSuite {
77 test(" ExampleLambda1 should respond with a message containing a configured greeting" ) {
88
99 val environmentConfiguration =
10- Map (" EXAMPLE_LAMBDA_GREETING " -> " Welcome to the brave <input> world!" )
10+ Map (" LAMBDA_GREETING " -> " Welcome to the brave <input> world!" )
1111
1212 val input = " Scala 3"
1313
You can’t perform that action at this time.
0 commit comments