From a9d87b13fa228756edebe89d9c0738bfd2a8bb2f Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Fri, 29 Jun 2018 02:19:52 +0900 Subject: [PATCH] icmp: don't fail test on JS Change-Id: I653cd92dc1b114719d1b6f3e296f67ed30edff24 Reviewed-on: https://go-review.googlesource.com/121555 Run-TryBot: Mikio Hara TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- icmp/listen_stub.go | 2 +- icmp/message.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icmp/listen_stub.go b/icmp/listen_stub.go index 668728d1..6b77ab48 100644 --- a/icmp/listen_stub.go +++ b/icmp/listen_stub.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build nacl plan9 +// +build js nacl plan9 package icmp diff --git a/icmp/message.go b/icmp/message.go index 46fe95ab..c9329a2f 100644 --- a/icmp/message.go +++ b/icmp/message.go @@ -25,7 +25,7 @@ import ( "golang.org/x/net/ipv6" ) -// BUG(mikio): This package is not implemented on NaCl and Plan 9. +// BUG(mikio): This package is not implemented on JS, NaCl and Plan 9. var ( errMessageTooShort = errors.New("message too short")