summaryrefslogtreecommitdiff
path: root/src/pkg/unicode
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/unicode')
-rw-r--r--src/pkg/unicode/Makefile1
-rw-r--r--src/pkg/unicode/maketables.go4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/pkg/unicode/Makefile b/src/pkg/unicode/Makefile
index 53f7229e7..26e6e501f 100644
--- a/src/pkg/unicode/Makefile
+++ b/src/pkg/unicode/Makefile
@@ -26,6 +26,7 @@ tables: maketables
# Build (but do not run) maketables during testing,
# just to make sure it still compiles.
test: maketables
+testshort: maketables
# Downloads from www.unicode.org, so not part
# of standard test scripts.
diff --git a/src/pkg/unicode/maketables.go b/src/pkg/unicode/maketables.go
index 0c367673e..33a826862 100644
--- a/src/pkg/unicode/maketables.go
+++ b/src/pkg/unicode/maketables.go
@@ -258,7 +258,7 @@ func loadChars() {
if *dataURL == "" {
flag.Set("data", *url+"UnicodeData.txt")
}
- resp, _, err := http.Get(*dataURL)
+ resp, err := http.Get(*dataURL)
if err != nil {
logger.Fatal(err)
}
@@ -549,7 +549,7 @@ func printScriptOrProperty(doProps bool) {
return
}
var err os.Error
- resp, _, err := http.Get(*url + file)
+ resp, err := http.Get(*url + file)
if err != nil {
logger.Fatal(err)
}