Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
11
  • Loading branch information
Carter Kozak committed Sep 30, 2019
commit fea0172a6c200e3e545f56198ba9bb4d147107c0
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

package com.palantir.baseline.refaster;

import static org.assertj.core.api.Assumptions.assumeThat;

import org.junit.Test;

public class AssertjOptionalPresenceTest {
Expand Down Expand Up @@ -68,6 +70,9 @@ public void isPresent_description() {

@Test
public void isNotPresent_simple() {
assumeThat(System.getProperty("java.specification.version"))
.describedAs("Refaster does not currently support fluent refactors on java 11")
.isEqualTo("1.8");
RefasterTestHelper
.forRefactoring(AssertjOptionalIsNotPresent.class)
.withInputLines(
Expand Down Expand Up @@ -95,6 +100,9 @@ public void isNotPresent_simple() {

@Test
public void isNotPresent_description() {
assumeThat(System.getProperty("java.specification.version"))
.describedAs("Refaster does not currently support fluent refactors on java 11")
.isEqualTo("1.8");
RefasterTestHelper
.forRefactoring(AssertjOptionalIsNotPresentWithDescription.class)
.withInputLines(
Expand Down