<commit_before>namespace SendGrid.Tests
{
	using System;
	using System.IO;
	using System.Linq;
	using Xunit;

    public class LicenseTests
    {
        [Fact]
        public void ShouldHaveCurrentYearInLicense()
        {
            var line = File.ReadLines(@"..\..\..\..\..\LICENSE.txt").Skip(2).Take(1).First();
            Assert.Contains(DateTime.Now.Year.ToString(), line);
        }
    }
}<commit_msg>Changed way LicenseTests reads current directory to be OS-agnostic<commit_after>namespace SendGrid.Tests
{
	using System;
	using System.IO;
	using System.Linq;
	using System.Reflection;
	using Xunit;

    public class LicenseTests
    {
        [Fact]
        public void ShouldHaveCurrentYearInLicense()
        {
            var directoryInfo = new DirectoryInfo(Directory.GetCurrentDirectory());
            var line = File.ReadLines(Path.Combine(directoryInfo.Parent.Parent.Parent.Parent.Parent.FullName, "LICENSE.txt")).Skip(2).Take(1).First();
            Assert.Contains(DateTime.Now.Year.ToString(), line);
        }
    }
}
{'fraction_non_alphanumeric': 0.12452107279693486, 'fraction_numerical': 0.0038314176245210726, 'mean_word_length': 2.718861209964413, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3613122', 'n_tokens_mistral': 304, 'n_tokens_neox': 294, 'n_words': 59}