resource/file/fetch/fetch_test.go
Function TestApply
has 283 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestApply(t *testing.T) {
t.Parallel()
t.Run("hash error", func(t *testing.T) {
task := fetch.Fetch{
Function TestDiffFile
has 188 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestDiffFile(t *testing.T) {
t.Parallel()
t.Run("fetch new file", func(t *testing.T) {
t.Run("with checksum", func(t *testing.T) {
File fetch_test.go
has 579 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
// Copyright © 2016 Asteris, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at