Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Feb 27, 2024
1 parent c9fe15f commit 20f8808
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class CloseableShutdownHookTest extends AirSpec {

trait A1 {
val onShutdownIsCalled = new AtomicBoolean(false)
val a = bind[A].onShutdown { x => onShutdownIsCalled.set(true) }
import wvlet.airframe.LifeCycleSupport
val a = bind[A].onShutdown { x => onShutdownIsCalled.set(true) }
}

test("favor onShutdownHook") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ package wvlet.airframe.rx.html

import wvlet.airframe.rx.Rx
import wvlet.airframe.rx.html.*
import wvlet.airframe.rx.html.embedAsNode
import wvlet.airframe.rx.html.all.*
import wvlet.airspec.AirSpec

/**
*/
class HtmlTest extends AirSpec {

test("embedding values") {
div(
1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package wvlet.airframe.rx.html

import wvlet.airframe.rx.html.all.*
import wvlet.airspec.AirSpec
import wvlet.airframe.rx.html.embedAsNode

/**
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package wvlet.airframe.rx.html

import wvlet.airframe.rx.{Cancelable, Rx}
import wvlet.airframe.rx.html.all.*
import wvlet.airframe.rx.html.embedAsNode
import wvlet.airspec.AirSpec

/**
Expand Down

0 comments on commit 20f8808

Please sign in to comment.