<commit_before>﻿using Foo.Web.Controllers;

namespace Foo.Tests.Web.Controllers
{
	public class HomeControllerTest
	{
		private readonly HomeController _controller;

		public HomeControllerTest()
		{
			_controller = new HomeController();
		}
	}
}<commit_msg>Require index action to return view result<commit_after>﻿using System.Web.Mvc;
using Foo.Web.Controllers;
using Xunit;

namespace Foo.Tests.Web.Controllers
{
	public class HomeControllerTest
	{
		private readonly HomeController _controller;

		public HomeControllerTest()
		{
			_controller = new HomeController();
		}

		[Fact]
		public void IndexShouldReturnViewResult()
		{
			var result = _controller.Index();
			Assert.IsType<ViewResult>(result);
		}
	}
}
{'fraction_non_alphanumeric': 0.09318497913769123, 'fraction_numerical': 0.0, 'mean_word_length': 4.669291338582677, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3013160', 'n_tokens_mistral': 242, 'n_tokens_neox': 218, 'n_words': 50}