<commit_before>// RUN: %empty-directory(%t)
// RUN: %validate-incrparse %s --test-case NO_CHANGES
// RUN: %validate-incrparse %s --test-case ADD_FUNC_PARENS
// RUN: %validate-incrparse %s --test-case ADD_OPENING_BRACE
// RUN: %validate-incrparse %s --test-case REMOVE_FUNC_KEYWORD
// RUN: %validate-incrparse %s --test-case ADD_PARAM_NAME
// RUN: %validate-incrparse %s --test-case ADD_PARAM_TYPE

func start() {}

class Bar

let y = 1

class InvalidFuncDecls {
  func parensAdded<<ADD_FUNC_PARENS<|||()>>> {
  }

  func openingBraceAdded() <<ADD_OPENING_BRACE|||{>>>

  func closingBraceAdded() {

  <<ADD_ClOSING_BRACE|||}>>>

  <<REMOVE_FUNC_KEYWORD<func|||>>> funcKeywordRemoved() {

  }

  func addingParamName(<<ADD_PARAM_NAME<|||arg>>>) {<commit_msg>[incrParse] Fix funcs.swift test case<commit_after>// RUN: %empty-directory(%t)
// RUN: %validate-incrparse %s --test-case NO_CHANGES
// RUN: %validate-incrparse %s --test-case ADD_FUNC_PARENS
// RUN: %validate-incrparse %s --test-case ADD_OPENING_BRACE
// RUN: %validate-incrparse %s --test-case REMOVE_FUNC_KEYWORD
// RUN: %validate-incrparse %s --test-case ADD_PARAM_NAME
// RUN: %validate-incrparse %s --test-case ADD_PARAM_TYPE

func start() {}

class Bar

let y = 1

class InvalidFuncDecls {
  func parensAdded<<ADD_FUNC_PARENS<|||()>>> {
  }

  func openingBraceAdded() <<ADD_OPENING_BRACE<|||{>>>

  func closingBraceAdded() {

  <<ADD_ClOSING_BRACE<|||}>>>

  <<REMOVE_FUNC_KEYWORD<func|||>>> funcKeywordRemoved() {

  }

  func addingParamName(<<ADD_PARAM_NAME<|||arg>>>) {
{'fraction_non_alphanumeric': 0.17467532467532468, 'fraction_numerical': 0.0012987012987012987, 'mean_word_length': 4.665441176470588, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4862473', 'n_tokens_mistral': 613, 'n_tokens_neox': 578, 'n_words': 112}