diff options
| author | Shulhan <ms@kilabit.info> | 2024-12-14 22:48:23 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-12-28 14:41:37 +0700 |
| commit | 8f32a86334b513ebb9952efc21ebe11f5e6f06c6 (patch) | |
| tree | 57c4f33011110dffc9b1d5c0f22e427164f95f88 /lib/test | |
| parent | c4dd4760f9fac2fb93ad65310550e479458fc0d1 (diff) | |
| download | pakakeh.go-8f32a86334b513ebb9952efc21ebe11f5e6f06c6.tar.xz | |
lib/test: update comment to show link on reflect.Equaler
Diffstat (limited to 'lib/test')
| -rw-r--r-- | lib/test/test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/test/test.go b/lib/test/test.go index 5132e82a..07f9bc20 100644 --- a/lib/test/test.go +++ b/lib/test/test.go @@ -1,6 +1,6 @@ -// Copyright 2018, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-FileCopyrightText: 2018 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: BSD-3-Clause // Package test provide library for helping with testing. package test @@ -49,8 +49,8 @@ func printStackTrace(w Writer, trace []byte) { // describe the position (type and value) where value are not matched and call // Fatalf. // -// If exp implement the extended reflect.Equaler, then it will use the -// method IsEqual with got as parameter. +// If exp implement the extended [reflect.Equaler], then it will use the +// method [Equal] with got as parameter. // // If exp and got is a struct, it will print the first non-matched field in // the following format, |
