Skip to content

Commit

Permalink
config: fix unit test in ci
Browse files Browse the repository at this point in the history
turned out that SHELL env variable is not set in CI. Use HOME instead.

Target: master
Require-book: no
Require-notes: no
  • Loading branch information
kofemann committed Oct 19, 2023
1 parent 8c65ee7 commit 0476a3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ public void testGetReplacementExpandingWithSpace() {

@Test
public void testGetReplacementExpandingEnv() {
// we assume that this SHELL env variable always set
_standardProperties.setProperty(SIMPLE_PROPERTY_NAME, propertyReference("env.SHELL"));
// we assume that this HOME env variable always set
_standardProperties.setProperty(SIMPLE_PROPERTY_NAME, propertyReference("env.HOME"));
_standardProperties.getProperty(SIMPLE_PROPERTY_NAME);
}

Expand Down

0 comments on commit 0476a3a

Please sign in to comment.