Skip to content

Commit fc62b82

Browse files
author
user
committed
fixed a test
1 parent 77499c5 commit fc62b82

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

example/kotlinlib/web/6-hello-spring-boot/build.mill

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ object `package` extends RootModule with KotlinModule {
2727
> mill test
2828
...com.example.HelloSpringBootTest#shouldReturnDefaultMessage() finished...
2929

30+
> echo "server.port=$PORT" >> ./resources/application.properties
31+
3032
> mill runBackground
3133

32-
> curl http://localhost:8095
34+
> curl http://localhost:$PORT
3335
...<h1>Hello, World!</h1>...
3436

3537
> mill clean runBackground
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server.port=8095

0 commit comments

Comments
 (0)