Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ object FunctionEvaluator {
val pattern = resolveArgString(args, "pattern", dataContext) ?: return JsonPrimitive(false)
return try {
JsonPrimitive(Regex(pattern).matches(value))
} catch (e: Exception) {
} catch (_: Throwable) {
JsonPrimitive(false)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ class SurfaceStateManagerTest {
// --- Multiple operations in sequence ---

@Test
fun `full lifecycle - create, update components, update data, delete`() {
fun `full lifecycle - create then update components then update data then delete`() {
val manager = SurfaceStateManager()

// Create
Expand Down
Loading