Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
go /
ast /
[ HOME SHELL ]
Name
Size
Permission
Action
ast.go
31.72
KB
-rw-r--r--
ast_test.go
1.45
KB
-rw-r--r--
commentmap.go
8.82
KB
-rw-r--r--
commentmap_test.go
3.22
KB
-rw-r--r--
example_test.go
5.61
KB
-rw-r--r--
filter.go
13.16
KB
-rw-r--r--
filter_test.go
1.62
KB
-rw-r--r--
import.go
5.67
KB
-rw-r--r--
issues_test.go
972
B
-rw-r--r--
print.go
5.9
KB
-rw-r--r--
print_test.go
1.84
KB
-rw-r--r--
resolve.go
5.23
KB
-rw-r--r--
scope.go
3.93
KB
-rw-r--r--
walk.go
6.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ast_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ast import ( "testing" ) var comments = []struct { list []string text string }{ {[]string{"//"}, ""}, {[]string{"// "}, ""}, {[]string{"//", "//", "// "}, ""}, {[]string{"// foo "}, "foo\n"}, {[]string{"//", "//", "// foo"}, "foo\n"}, {[]string{"// foo bar "}, "foo bar\n"}, {[]string{"// foo", "// bar"}, "foo\nbar\n"}, {[]string{"// foo", "//", "//", "//", "// bar"}, "foo\n\nbar\n"}, {[]string{"// foo", "/* bar */"}, "foo\n bar\n"}, {[]string{"//", "//", "//", "// foo", "//", "//", "//"}, "foo\n"}, {[]string{"/**/"}, ""}, {[]string{"/* */"}, ""}, {[]string{"/**/", "/**/", "/* */"}, ""}, {[]string{"/* Foo */"}, " Foo\n"}, {[]string{"/* Foo Bar */"}, " Foo Bar\n"}, {[]string{"/* Foo*/", "/* Bar*/"}, " Foo\n Bar\n"}, {[]string{"/* Foo*/", "/**/", "/**/", "/**/", "// Bar"}, " Foo\n\nBar\n"}, {[]string{"/* Foo*/", "/*\n*/", "//", "/*\n*/", "// Bar"}, " Foo\n\nBar\n"}, {[]string{"/* Foo*/", "// Bar"}, " Foo\nBar\n"}, {[]string{"/* Foo\n Bar*/"}, " Foo\n Bar\n"}, } func TestCommentText(t *testing.T) { for i, c := range comments { list := make([]*Comment, len(c.list)) for i, s := range c.list { list[i] = &Comment{Text: s} } text := (&CommentGroup{list}).Text() if text != c.text { t.Errorf("case %d: got %q; expected %q", i, text, c.text) } } }
Close