Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRemoveEntries (0.11 sec)

  1. cmd/kubeadm/app/util/users/users_linux_test.go

    			got := addEntries(tc.file, tc.entries, tc.createEntry)
    			if tc.expectedOutput != got {
    				t.Fatalf("expected output:\n%s\ngot:\n%s\n", tc.expectedOutput, got)
    			}
    		})
    	}
    }
    
    func TestRemoveEntries(t *testing.T) {
    	testCases := []struct {
    		name            string
    		file            string
    		entries         []*entry
    		expectedRemoved int
    		expectedOutput  string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 16.3K bytes
    - Viewed (0)
Back to top