Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExitCodeFilter (0.21 sec)

  1. misc/go_android_exec/exitcode_test.go

    // license that can be found in the LICENSE file.
    
    //go:build !(windows || js || wasip1)
    
    package main
    
    import (
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top