From 213d21f78286d100336f1b52b4843e6d1cd387b2 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 31 Jan 2020 16:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=9B=86=E4=B8=AA=E6=95=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/test_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/test_set.rb b/app/models/test_set.rb index c0674cdf0..861f5b3ed 100644 --- a/app/models/test_set.rb +++ b/app/models/test_set.rb @@ -1,7 +1,7 @@ class TestSet < ApplicationRecord # match_rule: 匹配规则: full: 完全匹配, last: 末尾匹配 # - validates :input, length: { maximum: 5000, too_long: "不能超过5000个字符" } + validates :input, length: { maximum: 65000, too_long: "不能超过65000个字符" } validates :output, length: { maximum: 65000, too_long: "不能超过65000个字符" } end