Merge remote-tracking branch 'origin/topic/dnthayer/bif-tests'

* origin/topic/dnthayer/bif-tests:
  Improve "fmt" BIF documentation comment
  Improve tests of the type_name BIF
  Improve test cases for "order" BIF
  Fix documentation of sort BIF and add more tests
  Fix documentation for system_env BIF
  Deprecate the parse_dotted_addr BIF (use to_addr instead)
  Improve tests for to_port and type_name BIFs
  Improve tests for sort, order, and system_env BIFs
  Fix the join_string_vec BIF and add more tests
  Add more tests for previously-untested BIFs
  Add more tests for previously-untested BIFs
  Add more tests for previously-untested BIFs
  Add more tests for previously-untested BIFs
  Add tests for previously-untested strings BIFs
This commit is contained in:
Robin Sommer 2012-06-06 11:41:00 -07:00
commit 73cefcc11c
135 changed files with 1707 additions and 68 deletions

View file

@ -175,7 +175,7 @@ function join_string_vec%(vec: string_vec, sep: string%): string
if ( i > 0 )
d.Add(sep->CheckString(), 0);
v->Lookup(i+1)->Describe(&d);
v->Lookup(i)->Describe(&d);
}
BroString* s = new BroString(1, d.TakeBytes(), d.Len());