summaryrefslogtreecommitdiff
path: root/debian/patches/fix-unit-tests
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-05 20:57:28 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-05 20:57:28 -0500
commit087c51bed9da75f5585d176a7b14396cd70f2638 (patch)
treeaaaf4a0de37eee63d8ec37f30dfa37cf61d2cf8f /debian/patches/fix-unit-tests
parenta4c190fb594f44da2849ec02c36117f35516c07d (diff)
downloaddeb-planr-087c51bed9da75f5585d176a7b14396cd70f2638.tar.xz
deb-planr-087c51bed9da75f5585d176a7b14396cd70f2638.zip
Temp unit test fix
Diffstat (limited to 'debian/patches/fix-unit-tests')
-rw-r--r--debian/patches/fix-unit-tests13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/fix-unit-tests b/debian/patches/fix-unit-tests
new file mode 100644
index 0000000..5e914d2
--- /dev/null
+++ b/debian/patches/fix-unit-tests
@@ -0,0 +1,13 @@
+Index: planr/fs_test.go
+===================================================================
+--- planr.orig/fs_test.go
++++ planr/fs_test.go
+@@ -15,7 +15,7 @@ func TestCname(t *testing.T) {
+ }
+
+ for _, vec := range v {
+- got := cname(ROOT, vec.path)
++ got := Cname(ROOT, vec.path)
+
+ if vec.cname != got {
+ t.Fatalf("Cname(%s) = %s, wanted %s", vec.path, got, vec.cname)