Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Testing (0.33 sec)

  1. tests/update_test.go

    package tests_test
    
    import (
    	"errors"
    	"regexp"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdate(t *testing.T) {
    	var (
    		users = []*User{
    			GetUser("update-1", Config{}),
    			GetUser("update-2", Config{}),
    			GetUser("update-3", Config{}),
    		}
    		user          = users[1]
    		lastUpdatedAt time.Time
    	)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  2. cmd/update_test.go

    package cmd
    
    import (
    	"encoding/hex"
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestMinioVersionToReleaseTime(t *testing.T) {
    	testCases := []struct {
    		version    string
    		isOfficial bool
    	}{
    		{"2017-09-29T19:16:56Z", true},
    		{"RELEASE.2017-09-29T19-16-56Z", false},
    		{"DEVELOPMENT.GOGET", false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top