Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
release v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusAmshove committed Feb 10, 2016
1 parent 844eaee commit b01566b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Kluent is hosted in [jCenter](https://bintray.com/markusamshove/maven/Kluent/vie

## Gradle
dependencies {
testCompile 'org.amshove.kluent:kluent:1.1'
testCompile 'org.amshove.kluent:kluent:1.3'
}

## Maven
<dependency>
<groupId>org.amshove.kluent</groupId>
<artifactId>kluent</artifactId>
<version>1.1</version>
<version>1.3</version>
<type>pom</type>
</dependency>

Expand Down Expand Up @@ -72,6 +72,24 @@ Kluent:
OR
firstObject `should not be` secondObject

## Assert that Arrays are equal ##
JUnit:

assertArrayEquals(firstArray, secondArray);

Kluent:

firstArray shouldEqual secondArray
OR
firstArray `should equal` secondArray

## Assert that Iterables are equal ##
Kluent:

firstIterable shouldEqual secondIterable
OR
firstIterable `should equal` secondIterable

## Assert that an Array/Iterable contains something ##

val alice = Person("Alice", "Bob")
Expand Down Expand Up @@ -131,3 +149,4 @@ Kluent:
func shouldNotThrow AnyException
OR
func `should not throw` AnyException

4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}

group 'org.amshove.kluent'
version '1.2'
version '1.3'

apply plugin: 'kotlin'
apply plugin: 'idea'
Expand Down Expand Up @@ -65,7 +65,7 @@ publishing {
from components.java
groupId 'org.amshove.kluent'
artifactId 'kluent'
version '1.2'
version '1.3'
}
}
}

0 comments on commit b01566b

Please sign in to comment.