Skip to content

Commit

Permalink
test.sh: ensure files are loaded relative to script
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmjacobs committed Sep 16, 2023
1 parent 7456283 commit 31156a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test.sh
@@ -1,5 +1,8 @@
#!/bin/bash

# Ensure files are loaded relative to test.sh
cd "$(dirname "$BASH_SOURCE")"

# Load helpers
source "./test_helpers.sh"

Expand Down

0 comments on commit 31156a6

Please sign in to comment.