Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Sep 6, 2024
1 parent 93a5851 commit bc2373c
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ class DataServletSpec extends Specification {
@Unroll
@SuppressWarnings('GroovyAccessibility')
def "Value of type '#valueType' #isOrNot terminal type"() {
given:
Value value = Mock(Value) {
type() >> valueType
}

expect:
DataServlet.isTerminalValue(
Mock(Value) {
type() >> valueType
}
) == isTerminalType
DataServlet.isTerminalValue(value) == isTerminalType

where:
valueType || isTerminalType
Expand Down

0 comments on commit bc2373c

Please sign in to comment.