changeset 22706:5a5d6c8647f6

publish.m: Fix some BIST tests. * publish.m: Remove BIST tests that no longer apply. Add FIXME about work that needs to be done. Change expected error message to match what code produces.
author Rik <rik@octave.org>
date Tue, 01 Nov 2016 07:18:48 -0700
parents e9a0aa0a49ed
children 843b45bd9912
files scripts/general/publish.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/publish.m	Mon Oct 31 22:33:00 2016 -0700
+++ b/scripts/general/publish.m	Tue Nov 01 07:18:48 2016 -0700
@@ -1009,11 +1009,11 @@
 
 ## FIXME: Missing any functional BIST tests
 
+## FIXME: Need to create a temporary file for use with error testing
 ## Test input validation
 %!error publish ()
 %!error publish (1)
-%!error publish ("non_existing_file.m")
-%!error<Only Octave script files can be published> publish ("publish.m")
+%!error <FILE does not exist> publish ("%%_non_existent_file_%%.m")
+%!error <only script files can be published> publish ("publish.m")
 %!error publish ("test_script.m", "format", "html", "showCode")
-%!error [str1, str2] = publish ("test_script.m")