summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/platform.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/platform.test b/tests/platform.test
index 2b98975..cc00d49 100644
--- a/tests/platform.test
+++ b/tests/platform.test
@@ -63,10 +63,10 @@ test platform-3.1 {CPU ID on Windows/UNIX} \
package require platform
test platform-4.1 {format of platform::identify result} -match regexp -body {
platform::identify
-} -result {^[^-]+-[^-]+$}
+} -result {^([^-]+-)+[^-]+$}
test platform-4.2 {format of platform::generic result} -match regexp -body {
platform::generic
-} -result {^[^-]+-[^-]+$}
+} -result {^([^-]+-)+[^-]+$}
# cleanup
cleanupTests