mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6453 71c3de6d-444a-0410-be80-ed276b4c234a
20 lines
450 B
Java
20 lines
450 B
Java
package hudson;
|
|
|
|
import junit.framework.TestCase;
|
|
|
|
import java.util.Collections;
|
|
|
|
/**
|
|
* @author Kohsuke Kawaguchi
|
|
*/
|
|
public class EnvVarsTest extends TestCase {
|
|
/**
|
|
* Makes sure that {@link EnvVars} behave in case-insensitive way.
|
|
*/
|
|
public void test1() {
|
|
EnvVars ev = new EnvVars(Collections.singletonMap("Path","A:B:C"));
|
|
assertTrue(ev.containsKey("PATH"));
|
|
assertEquals("A:B:C",ev.get("PATH"));
|
|
}
|
|
}
|