Skip to content

Commit

Permalink
switch BC version in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed Dec 22, 2014
1 parent a15af3e commit 01c0ba4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion maven/jruby/src/it/bouncycastle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bc.version>1.49</bc.version>
<bc.version>1.47</bc.version>
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ public void setupProvider() throws Exception{

@Test
public void java(){
assertEquals( "BouncyCastle Security Provider v1.49", new BouncyCastleProvider().getInfo() );
assertEquals( "BouncyCastle Security Provider v1.47", new BouncyCastleProvider().getInfo() );
}

@Test
public void ruby(){
ScriptingContainer container = new ScriptingContainer();
Object result = container.parse( "require 'openssl'; Java::OrgBouncycastleJceProvider::BouncyCastleProvider.new.info").run();
assertEquals( "BouncyCastle Security Provider v1.47", result.toString() );
assertEquals( "BouncyCastle Security Provider v1.49", result.toString() );
}
}

0 comments on commit 01c0ba4

Please sign in to comment.