mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-14 18:15:41 +00:00
migrate to JUnit 5
This commit is contained in:
1 parent
f322e6eb1b
commit
eb271c686f
2 files changed
+14
-8
No files matched your search
@@ -1,13 +1,13 @@
|
||||
package com.gildedrose;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.junit.Test;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
public class GildedRoseTest {
|
||||
class GildedRoseTest {
|
||||
|
||||
@Test
|
||||
public void foo() {
|
||||
void foo() {
|
||||
Item[] items = new Item[] { new Item("foo", 0, 0) };
|
||||
GildedRose app = new GildedRose(items);
|
||||
app.updateQuality();
|
||||
|
||||
Reference in new issue
Block a user