Просмотр исходного кода

Added note about test suite overkill

Adam Pritchard 11 лет назад
Родитель
Сommit
1632bfeb97
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      psiphon/config_test.go

+ 7 - 0
psiphon/config_test.go

@@ -19,6 +19,13 @@
 
 package psiphon
 
+/*
+NOTE: This test suite is probably overkill for such a simple file. It also
+probably shouldn't be doing error type checking, and especially not checking
+for particular JSON package errors. This is our first test file and mostly
+intended to be something to learn from and derive other test sets.
+*/
+
 import (
 	"encoding/json"
 	"errors"