Skip to content

Commit fd4b5ac

Browse files
committed
Ignore JRuby template tests (not compatible with JDK 9 yet)
Issue: SPR-13344
1 parent 88fcd0a commit fd4b5ac

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/JRubyScriptTemplateTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,10 +20,9 @@
2020
import java.util.Map;
2121
import javax.servlet.ServletContext;
2222

23-
import static org.junit.Assert.assertEquals;
2423
import org.junit.Before;
24+
import org.junit.Ignore;
2525
import org.junit.Test;
26-
import static org.mockito.Mockito.mock;
2726

2827
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
2928
import org.springframework.context.annotation.Bean;
@@ -33,11 +32,15 @@
3332
import org.springframework.mock.web.test.MockServletContext;
3433
import org.springframework.web.context.WebApplicationContext;
3534

35+
import static org.junit.Assert.*;
36+
import static org.mockito.Mockito.*;
37+
3638
/**
3739
* Unit tests for ERB templates running on JRuby.
3840
*
3941
* @author Sebastien Deleuze
4042
*/
43+
@Ignore("JRuby not compatible with JDK 9 yet")
4144
public class JRubyScriptTemplateTests {
4245

4346
private WebApplicationContext webAppContext;

0 commit comments

Comments
 (0)