<commit_before>//
//  ObjectSpec.swift
//  SwiftGit2
//
//  Created by <NAME> on 12/4/14.
//  Copyright (c) 2014 GitHub, Inc. All rights reserved.
//

import LlamaKit
import SwiftGit2
import Nimble
import Quick

class CommitSpec: QuickSpec {
	override func spec() {
		
	}
}
<commit_msg>Start testing Commit<commit_after>//
//  ObjectSpec.swift
//  SwiftGit2
//
//  Created by <NAME> on 12/4/14.
//  Copyright (c) 2014 GitHub, Inc. All rights reserved.
//

import LlamaKit
import SwiftGit2
import Nimble
import Quick

class CommitSpec: QuickSpec {
	override func spec() {
		describe("init(pointer:)") {
			it("should set its properties") {
				let repo = Fixtures.simpleRepository
				let oid = OID(string: "dc220a3f0c22920dab86d4a8d3a3cb7e69d6205a")!
				
				let commit = repo.commitWithOID(oid).value()
				expect(commit?.oid).to(equal(oid))
				expect(commit?.message).to(equal("Create a README\n"))
			}
		}
	}
}

{'fraction_non_alphanumeric': 0.13304252998909488, 'fraction_numerical': 0.04907306434023991, 'mean_word_length': 3.3507109004739335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6696607', 'n_tokens_mistral': 394, 'n_tokens_neox': 324, 'n_words': 81}