Skip to content

Commit 933fcc6

Browse files
authored
[testscripts] update to use versioned packages (#1303)
## Summary Updating these to use versioned packages. I decided against adding complexity to the tests by keeping unversioned packages as well, but let me know if you disagree. ## How was it tested? the Github Action for testscripts should pass
1 parent cb7ed10 commit 933fcc6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

testscripts/run/env.test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ stdout 'devbox-json-override'
4949

5050
-- devbox.json --
5151
{
52-
"packages": ["nginx"],
52+
"packages": ["nginx@latest"],
5353
"env": {
5454
"CONFIG_VAR1": "abc",
5555
"CONFIG_VAR2": "$DEVBOX_FOO",

testscripts/run/pure.test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stdout 'Hello, world!'
1414

1515
-- devbox.json --
1616
{
17-
"packages": ["hello"],
17+
"packages": ["hello@latest"],
1818
"env": {
1919
"FOO": "baz"
2020
}

testscripts/run/script.test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ stdout 'directly'
2828
-- devbox.json --
2929
{
3030
"packages": [
31-
"hello"
31+
"hello@latest"
3232
],
3333
"shell": {
3434
"init_hook": "export HOOK=hook",

testscripts/shellenv/node/devbox.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packages": [
3-
"nodejs-18_x"
3+
"nodejs@18"
44
],
55
"shell": {
66
"init_hook": [
@@ -13,4 +13,4 @@
1313
"nixpkgs": {
1414
"commit": "4a65e9f64e53fdca6eed31adba836717a11247d2"
1515
}
16-
}
16+
}

0 commit comments

Comments
 (0)