index_method_notfound.gravity 167 B

12345678910
  1. #unittest {
  2. name: "index() method for string - not found";
  3. error: NONE;
  4. result: true;
  5. };
  6. func main () {
  7. var s = "Hello World"
  8. return s.index("qwerty") == null
  9. }