Skip to content

Commit

Permalink
Update tests to use JUnit 5
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Nov 6, 2023
1 parent ca883e4 commit b8bc43c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
package org.openstreetmap.josm.plugins.turnlanestagging.util;

import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

import org.junit.Test;
import org.junit.jupiter.api.Test;

public class UtilTest {

class UtilTest {

/**
* Test method for
* {@link org.openstreetmap.josm.plugins.turnlanestagging.util.Util#setNoneOnEmpty(java.lang.String)}.
*/
@Test
public void testSetNoneOnEmpty() {
void testSetNoneOnEmpty() {
assertEquals("left", Util.setNoneOnEmpty("left"));
assertEquals("left|none", Util.setNoneOnEmpty("left|"));
assertEquals("none|right", Util.setNoneOnEmpty("|right"));
Expand Down

0 comments on commit b8bc43c

Please sign in to comment.