blob: 5c9bb6dc1ae8112a6957f49e3bfac6ce34344309 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.test.samples;
import com.yahoo.vespa.testrunner.Expect;
import org.junit.jupiter.api.Test;
@Expect(error = 2, status = 5)
public class FailingInstantiationTest {
final int i = Integer.parseInt("");
@Test
void test() { }
@Test
void fest() { }
}
|