Skip to content

Commit cadbbce

Browse files
ranqiangjunljharb
authored andcommitted
[Tests] Replace all dots with backslash dots
1 parent 2a2b8bd commit cadbbce

File tree

167 files changed

+188
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+188
-188
lines changed

nvm-exec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44

5-
. "$DIR/nvm.sh" --no-use
5+
\. "$DIR/nvm.sh" --no-use
66

77
if [ -n "$NODE_VERSION" ]; then
88
nvm use $NODE_VERSION > /dev/null || exit 127

test/fast/Aliases/"nvm alias" should not accept aliases with slashes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
3+
\. ../../../nvm.sh
44

55
die () { echo $@ ; exit 1; }
66

test/fast/Aliases/"nvm unalias" should not accept aliases with slashes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
3+
\. ../../../nvm.sh
44

55
die () { echo $@ ; exit 1; }
66

test/fast/Aliases/Running "nvm alias <aliasname> <target>" again should change the target

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
4-
. ../../common.sh
3+
\. ../../../nvm.sh
4+
\. ../../common.sh
55

66
die () { echo $@ ; exit 1; }
77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
3+
\. ../../../nvm.sh
44
[ $(nvm alias test-stable-1 | wc -l) = '2' ]

test/fast/Aliases/Running "nvm alias" lists implicit aliases when they do not exist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
4-
. ../../common.sh
3+
\. ../../../nvm.sh
4+
\. ../../common.sh
55

66
die () { echo $@ ; exit 1; }
77

test/fast/Aliases/Running "nvm alias" lists manual aliases instead of implicit aliases when present

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
4-
. ../../common.sh
3+
\. ../../../nvm.sh
4+
\. ../../common.sh
55

66
die () { echo $@ ; cleanup ; exit 1; }
77
cleanup () {

test/fast/Aliases/Running "nvm alias" should list all aliases.

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

3-
. ../../../nvm.sh
4-
. ../../common.sh
3+
\. ../../../nvm.sh
4+
\. ../../common.sh
55

66
die () { echo $@ ; exit 1; }
77

test/fast/Aliases/circular/nvm_resolve_alias

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
2-
. ../../../common.sh
2+
\. ../../../common.sh
33

44
die () { echo $@ ; exit 1; }
55

6-
. ../../../../nvm.sh
6+
\. ../../../../nvm.sh
77

88
ALIAS="$(nvm_resolve_alias loopback | strip_colors)"
99
[ "_$ALIAS" = "_∞" ] || die "nvm_resolve_alias loopback was not ∞; got $ALIAS"

test/fast/Aliases/circular/nvm_resolve_local_alias

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
2-
. ../../../common.sh
2+
\. ../../../common.sh
33

44
die () { echo $@ ; exit 1; }
55

6-
. ../../../../nvm.sh
6+
\. ../../../../nvm.sh
77

88
ALIAS="$(nvm_resolve_local_alias loopback | strip_colors)"
99
[ "_$ALIAS" = "_∞" ] || die "nvm_resolve_local_alias loopback was not ∞; got $ALIAS"

0 commit comments

Comments
 (0)