Skip to content

Commit

Permalink
fix test to run with more recent IntelliJ version #187
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Sep 10, 2017
1 parent afbee2a commit d31ce1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting

== Release notes

=== 0.19.1 (work in progress)
=== 0.19.1 (preview, available from Github releases)

- Support inspections to convert markdown and old style AsciiDoc headings to modern AsciiDoc headings #185
- JRuby runtime updated to 9.1.8.0 to work with recent JDK versions (still, internal Jetbrains JRE is the only supported version) #187
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public static Collection<Object[]> data() {
private boolean isWord;

public FormatAsciiDocActionTest(String prefix, String selection, String postfix, boolean isWord, String explanation) {
document = new MockDocument(prefix + selection + postfix);
document = new MockDocument();
document.replaceString(0, 0, prefix + selection + postfix);
start = prefix.length();
end = prefix.length() + selection.length();
this.explanation = explanation;
Expand Down

0 comments on commit d31ce1d

Please sign in to comment.