summaryrefslogtreecommitdiff
path: root/spew/internal_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'spew/internal_test.go')
-rw-r--r--spew/internal_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/spew/internal_test.go b/spew/internal_test.go
index 05bab97..d8c9761 100644
--- a/spew/internal_test.go
+++ b/spew/internal_test.go
@@ -155,3 +155,9 @@ func TestAddedReflectValue(t *testing.T) {
t.Errorf("TestAddedReflectValue #%d got: %s want: %s", i, s, want)
}
}
+
+// SortValues makes the internal sortValues function available to the test
+// package.
+func SortValues(values []reflect.Value) {
+ sortValues(values)
+}