github.com/DQNEO/babygo@v0.0.3/t/expected.txt (about)

     1  key1=>"value1"
     2  noexist=>""
     3  key1=>"value1"
     4  noexist=>""
     5  len=>"0"
     6  len=>"1"
     7  noexist=>""
     8  key1=>"value1"
     9  key2=>""
    10  key2=>"value2"
    11  len=>"2"
    12  key1=>""
    13  len=>"1"
    14  --------
    15  len=>"0"
    16  i=>0
    17  i=>2
    18  mp.Len=0
    19  mp.Len=2
    20  mp.a=11
    21  mp.bb=22
    22  mp.ccc=333
    23  mp.Len=2
    24  mp.bb is nil
    25  mp.Len=1
    26  mp.Len=0
    27  I am nil
    28  10
    29  20
    30  hello
    31  i=11
    32  i=8
    33  mt.field=216
    34  sqi=hello
    35  mt.field=216
    36  abce=123,456,a.789
    37  abc=aaa,bbb,ccc
    38  abc=1000,2000,3000
    39  abc=ABC
    40  s=c
    41  hello
    42  %rax
    43  number 1234
    44  string I am string
    45  types are string
    46  types are int
    47  types are *int
    48  %!d(string=xyz)
    49  1234abcdefg
    50  string %!d(string=I am string)
    51  %!s(int=123)
    52  --------------------------------
    53  github.com/DQNEO/babygo/lib/strings
    54  unsafe
    55  reflect
    56  github.com/DQNEO/babygo/lib/fmt
    57  github.com/DQNEO/babygo/lib/mylib2
    58  github.com/DQNEO/babygo/lib/strconv
    59  syscall
    60  github.com/DQNEO/babygo/lib/mylib
    61  github.com/DQNEO/babygo/lib/path
    62  os
    63  --------------------------------
    64  github.com/DQNEO/babygo/lib/fmt
    65  github.com/DQNEO/babygo/lib/mylib
    66  github.com/DQNEO/babygo/lib/mylib2
    67  github.com/DQNEO/babygo/lib/path
    68  github.com/DQNEO/babygo/lib/strconv
    69  github.com/DQNEO/babygo/lib/strings
    70  os
    71  reflect
    72  syscall
    73  unsafe
    74  4
    75  env FOO=bar
    76  int
    77  *int
    78  string
    79  main.MyStruct
    80  *main.MyStruct
    81  aabbcc
    82  3
    83  foo
    84  bar
    85  1
    86  ok
    87  23434
    88  1225
    89  234544
    90  1234555
    91  12345
    92  2345
    93  1234
    94  23
    95  b
    96  /
    97  .
    98  /a/b
    99  a/b
   100  /a
   101  a
   102  /
   103  .
   104  x
   105  # testExtLib() => 7
   106  3
   107  2
   108  4
   109  6
   110  3
   111  foo
   112  bar
   113  buz
   114  2
   115  4
   116  6
   117  2
   118  4
   119  2
   120  1419
   121  s1419
   122  7
   123  8
   124  9
   125  10
   126  11
   127  12
   128  13
   129  14
   130  type is *int
   131  7
   132  type is string
   133  abcde
   134  type is MySruct
   135  222
   136  type is bool
   137  ifc is nil
   138  1829
   139  1537
   140  aaaa
   141   type matched
   142  2021012420210124ok
   143  20210124end of testInterfaceAssertion
   144  
   145  
   146  I am string
   147  ok
   148  
   149  1111
   150  eface match
   151  22222
   152  3333
   153  4444
   154  eface not match
   155  eface not match
   156  eface is nil
   157  geface is nil
   158  eface is nil
   159  3210
   160  03122130
   161  20210122
   162  123
   163  abc
   164  3
   165  456
   166  789
   167  1010
   168  gBool is true
   169  gString
   170  22
   171  65
   172  123
   173  10
   174  infer string literal
   175  8
   176  10
   177  20
   178  1
   179  3
   180  20
   181  14
   182  14
   183  myargs
   184  10
   185  20
   186  0
   187  20
   188  30
   189  40
   190  345
   191  678
   192  123
   193  456
   194  123
   195  0
   196  0
   197  123
   198  456
   199  0
   200  0
   201  0
   202  0
   203  1
   204  12
   205  1234567890
   206  -1234567890
   207  -7
   208  OK isLetter A
   209  pass nil slice
   210  a bc def
   211  777 nil vaargs ok
   212  3
   213  280
   214  In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to eat: it was a hobbit-hole, and that means comfort.
   215  
   216  ― J.R.R. Tolkien, The Hobbit
   217  
   218  testOpenWrite
   219  3
   220  8
   221  infer string literal
   222  8
   223  start
   224  \	
'
   225  end
   226  swithc string 1 ok
   227  switch string default ok
   228  switch uint8 ok
   229  switch default ok
   230  switch int ok
   231  switch default ok
   232  true && true ok
   233  true && false ok
   234  false && true ok
   235  false && false ok
   236  true || true ok
   237  true || false ok
   238  false || true ok
   239  false || false ok
   240  24
   241  234
   242  012exit3
   243  789exit10
   244  012exit3
   245  789exit9
   246  globalbool 1 ok
   247  globalbool 2 ok
   248  globalbool 3 ok
   249  bool 1 ok
   250  bool ! 1 ok
   251  bool 2 ok
   252  bool 3 ok
   253  nil pointer 1 ok
   254  nil pointer 2 ok
   255  nil pointer 3 ok
   256  nil pointer 4 ok
   257  this is slice literal
   258  202
   259  1
   260  2
   261  3
   262  abbccc
   263  xyz
   264  123
   265  aabb|aabb|aabb|
   266  0123456789
   267  abcdefghijklmn
   268  3
   269  12345678910
   270  abcdefghijklmnopqrstuvwxyz
   271  27
   272  100
   273  cde
   274  abc
   275  abc
   276  ab
   277  bc
   278  0a
   279  1b
   280  2c
   281  going to loop 0 times
   282  going to loop 2 times
   283   in loop
   284   in loop
   285  going to loop 4 times
   286  0000
   287  helloforrange
   288  0
   289  0
   290  2
   291  2
   292  2
   293  0
   294  0
   295  -- testZeroValues()
   296  1
   297  0
   298  2
   299  int zero ok
   300  1
   301  -1
   302  aaa,bbb,aaa,bbb,hello strings
   303  hello globalstrings
   304  11
   305  22
   306  123
   307  456
   308  777
   309  123
   310  456
   311  777
   312  12
   313  11
   314  B
   315  123
   316  string cmp 1 ok
   317  string cmp 2 ok
   318  string cmp 3 ok
   319  string cmp 4 ok
   320  string cmp not 1 ok
   321  string cmp not 2 ok
   322  foobar1234
   323  0
   324  0
   325  12
   326  24
   327  4
   328  4
   329  6
   330  ABC
   331  0
   332  0
   333  1
   334  12
   335  123
   336  12345
   337  12345678
   338  1234567890
   339  54321
   340  -1
   341  -54321
   342  -7654321
   343  -1234567890
   344  
   345  66777788
   346  66777788
   347  hello string literal
   348  hello string
   349  i am a local 1
   350  i am a local 1
   351  i m local2
   352  globalstring changed
   353  AAA
   354  uint8 cmp == ok
   355  uint8 cmp != ok
   356  uint8 cmp > ok
   357  uint8 cmp < ok
   358  uint8 cmp >= ok
   359  uint8 cmp <= ok
   360  int cmp == ok
   361  int cmp != ok
   362  int cmp > ok
   363  int cmp < ok
   364  int cmp >= ok
   365  int cmp <= ok
   366  ok else if
   367  ok else if else
   368  ok true
   369  ok false
   370  ok true
   371  ok false
   372  ABA
   373  ABA
   374  42