<commit_before>import check from './support/check';

describe('member access', () => {
  it('allows dot-on-the-next-line style member access', () => {
    check(`
      a
        .b
    `, `
      a
        .b;
    `);
  });

  it('allows dot-on-the-next-line style member access as a callee', () => {
    check(`
      a
        .b()
    `, `
      a
        .b();
    `);
  });

  it('allows dot-on-the-next-line style member access as a callee with arguments', () => {
    check(`
      a
        .b(1, 2)
    `, `
      a
        .b(1, 2);
    `);
  });

  it.skip('allows chained dot-on-the-next-line style member access as a callee', () => {
    check(`
      a
        .b()
        .c()
    `, `
      a
        .b()
        .c();
    `);
  });

  it('allows assignment to member expressions of functions', () => {
    check(`
      a.b = ->
    `, `
      a.b = function() {};
    `);
  });
});<commit_msg>Let the chained method call test run.<commit_after>import check from './support/check';

describe('member access', () => {
  it('allows dot-on-the-next-line style member access', () => {
    check(`
      a
        .b
    `, `
      a
        .b;
    `);
  });

  it('allows dot-on-the-next-line style member access as a callee', () => {
    check(`
      a
        .b()
    `, `
      a
        .b();
    `);
  });

  it('allows dot-on-the-next-line style member access as a callee with arguments', () => {
    check(`
      a
        .b(1, 2)
    `, `
      a
        .b(1, 2);
    `);
  });

  it('allows chained dot-on-the-next-line style member access as a callee', () => {
    check(`
      a
        .b()
        .c()
    `, `
      a
        .b()
        .c();
    `);
  });

  it('allows assignment to member expressions of functions', () => {
    check(`
      a.b = ->
    `, `
      a.b = function() {};
    `);
  });
});
{'fraction_non_alphanumeric': 0.19599350297780185, 'fraction_numerical': 0.004331348132106118, 'mean_word_length': 1.454183266932271, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '5972142', 'n_tokens_mistral': 674, 'n_tokens_neox': 639, 'n_words': 152}