aboutsummaryrefslogtreecommitdiffstats
path: root/shellutil_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'shellutil_test.go')
-rw-r--r--shellutil_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/shellutil_test.go b/shellutil_test.go
index c54e761..e4c200d 100644
--- a/shellutil_test.go
+++ b/shellutil_test.go
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package main
+package kati
import (
"testing"
@@ -42,10 +42,10 @@ func TestRot13(t *testing.T) {
}
func TestShellDate(t *testing.T) {
- ts := shellDateTimestamp
- shellDateTimestamp = time.Now()
+ ts := ShellDateTimestamp
+ ShellDateTimestamp = time.Now()
defer func() {
- shellDateTimestamp = ts
+ ShellDateTimestamp = ts
}()
for _, tc := range []struct {
sharg literal