aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorZach <zach.ramsay@gmail.com>2017-12-13 02:05:47 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-12-13 02:05:47 +0800
commit3da1bf8ca18f54d9bd2c8c110854dc071ee3898b (patch)
tree8346c96f35f065f098944e425baca74880965232 /rpc
parentbbea4b2b53be53fc07b620c426bda80732a8814b (diff)
downloaddexon-3da1bf8ca18f54d9bd2c8c110854dc071ee3898b.tar.gz
dexon-3da1bf8ca18f54d9bd2c8c110854dc071ee3898b.tar.zst
dexon-3da1bf8ca18f54d9bd2c8c110854dc071ee3898b.zip
all: use gometalinter.v2, fix new gosimple issues (#15650)
Diffstat (limited to 'rpc')
-rw-r--r--rpc/http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http_test.go b/rpc/http_test.go
index 1cb7a7acb..38196b48b 100644
--- a/rpc/http_test.go
+++ b/rpc/http_test.go
@@ -32,7 +32,7 @@ func TestHTTPErrorResponseWithPut(t *testing.T) {
}
func TestHTTPErrorResponseWithMaxContentLength(t *testing.T) {
- body := make([]rune, maxHTTPRequestContentLength+1, maxHTTPRequestContentLength+1)
+ body := make([]rune, maxHTTPRequestContentLength+1)
testHTTPErrorResponse(t,
"POST", contentType, string(body), http.StatusRequestEntityTooLarge)
}
c1647346629d3c13e04eed85e30'>- Mark brokenamdmi32016-12-191-0/+2 * - Update to 0.13wen2016-12-192-3/+4 * Whatever you do, ${PORTSDIR}/ keeps creeping back.mat2016-12-181-1/+1 * Revert r428758 and unbreakantoine2016-12-171-4/+5 * - Use USES=makeinfo instead of hard-coded BUILD_DEPENDSsunpoet2016-12-171-4/+3 * - Update to 0.47sunpoet2016-12-172-4/+4 * - Update to 0.5005sunpoet2016-12-172-4/+4 * - Update to 1.7-14tota2016-12-172-4/+5 * - Add new port: math/R-cran-backportstota2016-12-174-0/+28 * - Update to 7.600.1danilo2016-12-173-7/+12 * Switch USES=compiler:gcc-c++11-lib to use base libc++ on 10.2+ systemsjbeich2016-12-163-3/+3 * Stepping down as maintainer for some ports.johans2016-12-153-3/+3 * - Update WWW: pear.php.net uses https://sunpoet2016-12-132-2/+2 * - Update WWW: pecl.php.net uses https://sunpoet2016-12-136-6/+6 * Add a comment to never remove the PORTREVISION?= line, sincegerald2016-12-131-1/+1 * - Update to 0.19-1wen2016-12-132-3/+4 * - Update to 0.46sunpoet2016-12-132-4/+4 * - Update to 0.5004sunpoet2016-12-132-4/+4 * - Add p5-Math-BigInt-Lite 0.16sunpoet2016-12-135-0/+45 * - Remove *_DEPENDS: Math::Complex 1.39+ is already in all supported Perl rele...sunpoet2016-12-131-3/+1 * - Add LICENCE, and small modification to description of error instephen2016-12-122-2/+7 * - Update WWW: rubygems.org uses https://sunpoet2016-12-121-1/+1 * Those ports build fine with bsd makeantoine2016-12-121-1/+1 * multimedia/ffmpeg: update to 3.2.2jbeich2016-12-112-1/+2 * Those ports build fine with bsd makeantoine2016-12-111-1/+1 * math/moo is not jobs safe (flex generation)marino2016-12-101-0/+2 * - Belated portrevision bump, which got lost because of a collision betweenstephen2016-12-091-1/+1 * Update devel/cmake* to 3.7.1 [1]tcberner2016-12-091-0/+119 * - Update to 4.5.0wen2016-12-094-104/+50 * Remove libintl.so.9 compatibility link that was added in r374303 totijl2016-12-096-5/+6 * Remove libtiff.so.4 compatibility links that were added in r374303 totijl2016-12-093-3/+3 * Remove libogg.so.8, libvorbis.so.4 and libvorbisfile.so.6 compatibilitytijl2016-12-081-1/+1 * qhull:stephen2016-12-088-50/+98 * Fix up math/blas's PORTREVISION going backwards, broken in r428057.mandree2016-12-081-1/+1 * - Update to 1.07sunpoet2016-12-082-4/+4 * Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-12-07145-101/+145 * math/ceres-solver: update to 1.12.0jbeich2016-12-072-5/+6 * - Update to 1.3002sunpoet2016-12-062-4/+4 * - Update to 0.6-1tota2016-12-062-5/+8 * - Update to 3.31.5wen2016-12-062-4/+4 * - Update to 0.45sunpoet2016-12-052-5/+5 * - Update to 1.6002sunpoet2016-12-052-4/+4