<NME> webpack.config.js
<BEF> ADDFILE
<MSG> added test for additional pass

<DFF> @@ -0,0 +1,16 @@
+var testPlugin = function() {
+	var counter = 1;
+	this.plugin("compilation", function(compilation) {
+		var nr = counter++;
+		compilation.plugin("need-additional-pass", function() {
+			if(nr < 5)
+				return true;
+		});
+	});
+};
+
+module.exports = {
+	plugins: [
+		testPlugin
+	]
+};

{'addition_count': 16, 'commit_subject': 'added test for additional pass', 'deletion_count': 0, 'file_extension': '.js', 'lang': 'config', 'license': 'mit', 'repo_name': 'webpack/webpack'}